You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "benj (JIRA)" <ji...@apache.org> on 2019/01/16 08:20:00 UTC

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

benj created DRILL-6980:
---------------------------

             Summary: --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


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)