drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3550) Incorrect results reading complex data with schema change
Date Fri, 24 Jul 2015 04:03:04 GMT
Parth Chandra created DRILL-3550:
------------------------------------

             Summary: Incorrect results reading complex data with schema change
                 Key: DRILL-3550
                 URL: https://issues.apache.org/jira/browse/DRILL-3550
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Data Types
    Affects Versions: 1.1.0
            Reporter: Parth Chandra
            Assignee: Hanifi Gunes
            Priority: Critical
             Fix For: 1.2.0


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  |




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message