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

Querying empty directory yield internal index-out-of-bounds error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 1.13.0
    • Storage - Other
    • None

    Description

      Trying to use an empty directory as a table results in an internal IndexOutOfBounds error:

      0: jdbc:drill:zk=localhost:2181> SELECT *   FROM `dfs`.`root`.`/tmp/empty_directory`;
      Error: VALIDATION ERROR: Index: 0, Size: 0
      
      
      [Error Id: 66ff61ed-ea41-4af9-87c5-f91480ef1b21 on dev-linux2:31010] (state=,code=0)
      0: jdbc:drill:zk=localhost:2181> 
      

      Attachments

        Issue Links

          Activity

            People

              vitalii Vitalii Diravka
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: