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

Wrong result on count(*) from empty csv file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.9.0
    • 1.10.0
    • Storage - Text & CSV
    • None

    Description

      t1.csv is an empty file:

      0: jdbc:drill:schema=dfs> select count(*) from `bigtable/2015/01/t1.csv`;
      Query failed: IllegalArgumentException: Incoming endpoints 1 is greater than number of row groups 0
      Error: exception while executing query: Failure while executing query. (state=,code=0)
      

      Attachments

        Issue Links

          Activity

            People

              paul-rogers Paul Rogers
              vicky Victoria Markman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: