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

Querying folders broken in 1.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.3.0
    • Functions - Drill
    • None
    • Local Embedded Drill 1.4.0 Version running on Windows 10 and Java 8

    • Patch

    Description

      Hey all,

      today I updated drill 1.3.0 to 1.4.0 and I explored that querying folders (using the Syntax of 1.3.0) is not possible anymore.

      So on Drill 1.3.0 the following sqline command was possible:

      SELECT * FROM dfs.`C:\Users\someuser\Desktop\testdir`;
      Moreover, I also tested queries like

      SELECT * FROM dfs.`C:\Users\someuser\Desktop\testdir\`;
      SELECT * FROM dfs.`C:\Users\someuser\Desktop\testdir*`;
      SELECT * FROM dfs.`C:\Users\someuser\Desktop\testdir*.json`;

      All those commands work fine with Drill 1.3.0.
      However, when switiching to 1.4.0, I get the following Exceptions:

      Error: VALIDATION ERROR: Unexpected internal error near index 1
      \
      ^

      Can someone explain why the old queries are not working anymore on 1.4.0? How can I query folders with 1.4.0?
      Currently, I assume that there is a bug.

      Best regards,
      André

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Vion Andre Pomp
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: