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

Reading empty CSV file fails with SYSTEM ERROR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      Trying to read an empty CSV file (a file containing zero bytes) fails with a system error:

      0: jdbc:drill:zk=local> SELECT * FROM `dfs.root`.`/tmp/empty.csv`;
      Error: SYSTEM ERROR: IllegalArgumentException: MinorFragmentId 0 has no read entries assigned
      
      
      [Error Id: f1da68f6-9749-45bc-956b-20cbc6d28894 on dev-linux2:31010] (state=,code=0)
      0: jdbc:drill:zk=local> 
      

      Attachments

        Issue Links

          Activity

            People

              seanhychu Sean Hsuan-Yi Chu
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: