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

Scan on a local directory containing multiple text files (one or more empty) throws FileNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.11.0
    • None
    • Storage - Text & CSV
    • None

    Description

      1) Create a directory having multiple text files (one or more empty)
      2) Do a scan on the directory

      select * from lfs.`/home/user/dir1`;
      

      The query throws the below error-

      Error: SYSTEM ERROR: FileNotFoundException: File file:///home/user/dir1/<filename> does not exist
      
      Setup failed for CompliantTextRecordReader
      Fragment 1:2
      

      Issue reproducible with - csv, tsv and psv files

      Attachments

        Activity

          People

            Unassigned Unassigned
            prasadns14 Prasad Nagaraj Subramanya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: