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 836CC17DEF for ; Thu, 9 Apr 2015 23:29:12 +0000 (UTC) Received: (qmail 96979 invoked by uid 500); 9 Apr 2015 23:29:12 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 96947 invoked by uid 500); 9 Apr 2015 23:29:12 -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 96937 invoked by uid 99); 9 Apr 2015 23:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 23:29:12 +0000 Date: Thu, 9 Apr 2015 23:29:12 +0000 (UTC) From: "Khurram Faraaz (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2742) Need to support querying of nested JSON arrays MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Khurram Faraaz created DRILL-2742: ------------------------------------- Summary: Need to support querying of nested JSON arrays Key: DRILL-2742 URL: https://issues.apache.org/jira/browse/DRILL-2742 Project: Apache Drill Issue Type: Improvement Components: Storage - JSON Affects Versions: 0.9.0 Environment: 0.9.0 on CentOS 4 node cluster | 9d92b8e319f2d46e8659d903d355450e15946533 | DRILL-2580: Exit early from HashJoinBatch if build side is empty | 26.03.2015 @ 16:13:53 EDT Reporter: Khurram Faraaz Assignee: Steven Phillips Priority: Minor We need to support querying of nested JSON arrays. On 0.9.0 with `store.json.all_text_mode`=true and querying the below nested JSON data results in an Exception. This needs to be supported as it is valid JSON. {code} We see the below Exception 0: jdbc:drill:> select * from `nestdJsnArry.json`; Query failed: Query stopped., Needed to be in state INIT or IN_LIST but in mode IN_VARCHAR [ 9f47bfe8-b8b5-492a-bff1-cf8a5228b657 on centos-02.qa.lab:31010 ] Error: exception while executing query: Failure while executing query. (state=,code=0) Data used in the test was { "outkey": [ [ 1, 2, 3, -1, 0, 9999, 99999999, 10 ], [ "a", "p", "d", "e", "w", "o" ], [ "string1", "string2", "string3", "longer string", "this is a test string" ], [ [ -1, 0, 10, 9999999, 99999, 879, -5678 ], [ "a", null ] ] ] } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)