[ 
https://issues.apache.org/jira/browse/DRILL-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chun Chang closed DRILL-3550.
-----------------------------
    Assignee: Chun Chang  (was: Hanifi Gunes)

0: jdbc:drill:schema=dfs.drillTestDirDropTabl> select commit_id from 
sys.version;
+-------------------------------------------+
|                 commit_id                 |
+-------------------------------------------+
| 0686bc23e8fbbd14fd3bf852893449ef8552439d  |
+-------------------------------------------+
1 row selected (0.239 seconds)
0: jdbc:drill:schema=dfs.drillTestDirDropTabl> select * from `t.json`;
+----------------+
|       a        |
+----------------+
| {"b":1,"c":1}  |
+----------------+
1 row selected (0.256 seconds)
0: jdbc:drill:schema=dfs.drillTestDirDropTabl> select a from `t.json` t where 
t.a.b = 1;
+----------------+
|       a        |
+----------------+
| {"b":1,"c":1}  |
+----------------+
1 row selected (0.363 seconds)

> 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: Chun Chang
>            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)

Reply via email to