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 16FCCC278 for ; Tue, 12 Aug 2014 04:01:37 +0000 (UTC) Received: (qmail 26116 invoked by uid 500); 12 Aug 2014 04:01:37 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 26090 invoked by uid 500); 12 Aug 2014 04:01:37 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 26080 invoked by uid 99); 12 Aug 2014 04:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 04:01:36 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 Aug 2014 04:01:35 +0000 Received: (qmail 25101 invoked by uid 99); 12 Aug 2014 04:01:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 04:01:14 +0000 Date: Tue, 12 Aug 2014 04:01:14 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1284) Better documentation describing the accepted JSON data input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-1284: ---------------------------------- Assignee: Suresh Ollala > Better documentation describing the accepted JSON data input > ------------------------------------------------------------ > > Key: DRILL-1284 > URL: https://issues.apache.org/jira/browse/DRILL-1284 > Project: Apache Drill > Issue Type: Improvement > Components: Documentation > Affects Versions: 0.4.0 > Reporter: Luca Morandini > Assignee: Suresh Ollala > > Since JSON data input can be very diversified, and Drill, so far, accepts only tuples defined in one mongimport format, it would be useful to have this clearly spelled out in the documentation. > This improvement to the documentation should stress: > # The accepted JSON input format (single Objects describeing tuples, every one of them in a single line, with no separator between lines); > # The homogeneous Arrays constraint: only elements of the same type are accepted in a JSON array in Drill; > # The need to address a single element of a JSON array in a Drill SQL query: {{SELECT foo\[2\] FROM bar.json}} is accepted, {{SELECT foo FROM bar.json}} is not -- This message was sent by Atlassian JIRA (v6.2#6252)