Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6980

--run regression - error when empty line or command at end of the file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • None
    • SQL Parser
    • None

    Description

      When using --run like

      bin/drill-embedded --run="myfile.req"
      

      If "myfile.req" contains extra lines (empty or comment) after the last SQL DRILL request, an error appear.

      Error: PARSE ERROR: Encountered "<EOF>" at line 1, column 4.
      

      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

       

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              benj641 benj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: