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

count(*) from empty text file does not return 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Storage - Text & CSV
    • None

    Description

      select count(*) from `empty.csv`;
      
      select count(*) from `empty.json`;
      

      Both return no record, no schema. But in postgres, it returns 0 for both cases.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              seanhychu Sean Hsuan-Yi Chu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: