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

IllegalArgumentException while reading JSON files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • Storage - JSON
    • None

    Description

      First of all, this issue can be reproduced when drill runs on distributed mode.

      We have two json files in distributed file system. The type for the column is MAP and there is not schema change on the top level. However, in the one layer deeper in this column, the first file has one NullableBit column, which does not appear in the second file.

      The issue can be reproduced by the files in the attachment and this query :

      select jsonFieldMapLevel1_aaa from directory
      

      Attachments

        1. b.json
          6 kB
          Sean Hsuan-Yi Chu
        2. a.json
          3 kB
          Sean Hsuan-Yi Chu

        Activity

          People

            seanhychu Sean Hsuan-Yi Chu
            seanhychu Sean Hsuan-Yi Chu
            Chun Chang Chun Chang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: