Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 304EA10237 for ; Tue, 15 Sep 2015 00:40:46 +0000 (UTC) Received: (qmail 33877 invoked by uid 500); 15 Sep 2015 00:40:46 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 33844 invoked by uid 500); 15 Sep 2015 00:40:45 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 33834 invoked by uid 99); 15 Sep 2015 00:40:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 00:40:45 +0000 Date: Tue, 15 Sep 2015 00:40:45 +0000 (UTC) From: "Chun Chang (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (DRILL-3550) Incorrect results reading complex data with schema change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)