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 8A1BF186DF for ; Fri, 24 Apr 2015 21:58:39 +0000 (UTC) Received: (qmail 72184 invoked by uid 500); 24 Apr 2015 21:58:39 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 71942 invoked by uid 500); 24 Apr 2015 21:58:39 -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 71926 invoked by uid 99); 24 Apr 2015 21:58:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 21:58:39 +0000 Date: Fri, 24 Apr 2015 21:58:39 +0000 (UTC) From: "Parth Chandra (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2872) Result from json file returns data from map type fields as "null" 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-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Parth Chandra updated DRILL-2872: --------------------------------- Priority: Critical (was: Major) > Result from json file returns data from map type fields as "null" > ----------------------------------------------------------------- > > Key: DRILL-2872 > URL: https://issues.apache.org/jira/browse/DRILL-2872 > Project: Apache Drill > Issue Type: Bug > Components: Client - C++ > Reporter: Krystal > Assignee: Parth Chandra > Priority: Critical > Fix For: 1.0.0 > > > git.commit.id=9ec257efb7992209e27c82e6f4ee8a5b12cc95e4 > select from a json file from ODBC returns data for map fields as "null". For example: > select * from `dfs.drillTestDirJson`.`complex_student.json` > 1 fred ovid 76 1.55 692315658449 2014-05-27 00:26:07 [ null, null, null ] > { "color" : "Blue", "sport" : "Soccer", "food" : "Spaghetti" } > 2 bob brown 63 3.18 650706039334 2014-12-04 21:43:14 [ null, null, null ] > { "color" : "Green", "sport" : "Soccer", "food" : "Pizza" } > 3 bob hernandez 28 1.09 293612255322 2014-05-31 14:33:06 [ null, null, null ] > { "color" : "Red", "sport" : "Tennis", "food" : "Hamburger" } > 4 ulysses xylophone 31 1.67 896547822355 2014-06-12 11:27:33 [ null, null, null ] > { "color" : "Yellow", "sport" : "Hockey", "food" : "Pizza" } > sqlline returns correct data for the same query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)