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

Limit on file name in sql query is too small

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: SQL Parser
    • Labels:
      None

      Description

      While building from the release tarball, unit test fail if you build from a directory that is nested several levels deep such that the full path to some of the test data files is longer than 128 characters.

      The limit appears to be very small and should be increased.

      One of the errors during the build that illustrates the problem:
      testTextJoin(org.apache.drill.TestExampleQueries) Time elapsed: 0.011 sec <<< ERROR!
      org.apache.drill.exec.rpc.RpcException: Failure while parsing sql. Length of identifier 'file:/Users/pchandra/work/drill-release/apache-drill-0.6.0-incubating-src/exec/java-exec/target/test-classes/store/text/data/nations.csv' must be less than or equal to 128 characters [38933037-d38d-4278-a215-b722cc97811c]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amansinha100 Aman Sinha
                Reporter:
                parthc Parth Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: