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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.11.0
    • Fix Version/s: None
    • Component/s: Storage - Text & CSV
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: