You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/03/28 13:05:00 UTC

[jira] [Assigned] (DRILL-6980) --run regression - error when empty line or command at end of the file

     [ https://issues.apache.org/jira/browse/DRILL-6980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arina Ielchiieva reassigned DRILL-6980:
---------------------------------------

    Assignee: Arina Ielchiieva

> --run regression - error when empty line or command at end of the file
> ----------------------------------------------------------------------
>
>                 Key: DRILL-6980
>                 URL: https://issues.apache.org/jira/browse/DRILL-6980
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 1.15.0
>            Reporter: benj
>            Assignee: Arina Ielchiieva
>            Priority: Minor
>
> When using --run like
> {code:java}
> bin/drill-embedded --run="myfile.req"
> {code}
> If "myfile.req" contains extra lines (empty or comment) after the last SQL DRILL request, an error appear.
> {code:java}
> Error: PARSE ERROR: Encountered "<EOF>" at line 1, column 4.
> {code}
> Note that empty lines or comment lines in the middle of the file (ie between 2 DRILL requests or at the beginning of the file) don't make any problem.
> This problem appeared in 1.15.0 did not exists in 1.14.0
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)