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

IllegalArgumentException while reading JSON files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Storage - JSON
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: