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

Drill text reader reports wrong results when column value starts with '#'

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=2af709f

      Data Set :

      D|32
      8h|234
      ;#|3489
      ^$*(|308
      #|98
      

      Wrong Result : (Last row is missing)

      select columns[0] as col1, columns[1] as col2 from dfs.`/drill/testdata/wtf2.tbl`;
      +-------+-------+
      | col1  | col2  |
      +-------+-------+
      | D     | 32    |
      | 8h    | 234   |
      | ;#    | 3489  |
      | ^$*(  | 308   |
      +-------+-------+
      4 rows selected (0.233 seconds)
      

      The issue does not however happen with a parquet file

      Attachments

        Activity

          People

            Unassigned Unassigned
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: