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

Incorrect results reading complex data with schema change

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Execution - Data Types
    • Labels:
      None

      Description

      Given the data :

      {"some":"yes","others":{"other":"true","all":"false","sometimes":"yes"}}
      {"some":"yes","others":{"other":"true","all":"false","sometimes":"yes","additional":"last entries only"}}

      The query

      select `some`, t.others, t.others.additional from `test.json` t;

      produces incorrect results -

      yes {"additional":"last entries only"} last entries only

      instead of

      yes {"other":"true","all":"false","sometimes":"yes","additional":"last entries only"} last entries only

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cchang@maprtech.com Chun Chang
                Reporter:
                parthc Parth Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: