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 5677A11AED for ; Mon, 16 Jun 2014 21:34:31 +0000 (UTC) Received: (qmail 28295 invoked by uid 500); 16 Jun 2014 21:34:31 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 28235 invoked by uid 500); 16 Jun 2014 21:34:31 -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 28197 invoked by uid 99); 16 Jun 2014 21:34:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 21:34:31 +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; Mon, 16 Jun 2014 21:34:32 +0000 Received: (qmail 27521 invoked by uid 99); 16 Jun 2014 21:34:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 21:34:07 +0000 Date: Mon, 16 Jun 2014 21:34:07 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-836) Drill needs to return complex types (e.g., map and array) as a JSON string 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-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033017#comment-14033017 ] Jacques Nadeau commented on DRILL-836: -------------------------------------- merged on or before f86639c > Drill needs to return complex types (e.g., map and array) as a JSON string > -------------------------------------------------------------------------- > > Key: DRILL-836 > URL: https://issues.apache.org/jira/browse/DRILL-836 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Operators, Execution - RPC > Affects Versions: 1.0.0-BETA1 > Reporter: George Chow > Assignee: DrillCommitter > Priority: Blocker > Fix For: 1.0.0-BETA1 > > Attachments: DRILL-836-Drill-needs-to-return-complex-types-e.g.-m.patch, DRILL-836-Drill-needs-to-return-complex-types-e.g.-m.patch > > > Drill needs to help users understand the available columns in a given HBase table's column-family. One way to do this is to implement the DESCRIBE command for a column-family. The purpose of this is to let Drill do the column sampling. The mandatory LIMIT clause specifies the sample size so as to throttle the number of columns returned. > == > Instead of the above narrow proposal, a general mechanism to return complex types in a JSON string so as to allow client tools (such as the ODBC driver) to operate on these complex types. > Returning a map as JSON would provide transparency into HBase column-families and allow the ODBC driver to help surface the names of columns within a column-family. > Returning an array as JSON would provide transparency into CSV files since that conveys the number of columns to the ODBC driver. -- This message was sent by Atlassian JIRA (v6.2#6252)