[ https://issues.apache.org/jira/browse/DRILL-6980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748033#comment-16748033 ]
Volodymyr Vysotskyi edited comment on DRILL-6980 at 1/22/19 10:22 AM: ---------------------------------------------------------------------- [~benj641], the problem is in SqlLine: [https://github.com/julianhyde/sqlline/issues/232]. It was fixed there and it will be fixed for Drill after upgrade to SqlLine 1.7.0 was (Author: vvysotskyi): [~benj641], the problem is in SqlLine: [https://github.com/julianhyde/sqlline/issues/232.] It was fixed there and it will be fixed for Drill after upgrade to SqlLine 1.7.0 > --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 > 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)