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

Reading empty CSV file fails with SYSTEM ERROR

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: