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 BB0B7179B4 for ; Tue, 21 Apr 2015 17:55:59 +0000 (UTC) Received: (qmail 228 invoked by uid 500); 21 Apr 2015 17:55:59 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 196 invoked by uid 500); 21 Apr 2015 17:55:59 -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 184 invoked by uid 99); 21 Apr 2015 17:55:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 17:55:59 +0000 Date: Tue, 21 Apr 2015 17:55:59 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (DRILL-2186) select * is not working with flatten 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-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Challapalli closed DRILL-2186. ------------------------------------ This is a duplicate > select * is not working with flatten > ------------------------------------ > > Key: DRILL-2186 > URL: https://issues.apache.org/jira/browse/DRILL-2186 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Reporter: Rahul Challapalli > Assignee: Daniel Barclay (Drill) > > git.commit.id.abbrev=c54bd6a > Data Set : > {code} > { > "id" : 1, > "lst" : [1,2,3] > } > {code} > The below queries incorrectly return null > {code} > 0: jdbc:drill:schema=dfs> select *, flatten(lst) from `temp.json`; > +------------+------------+ > | * | EXPR$1 | > +------------+------------+ > | null | 1 | > | null | 2 | > | null | 3 | > +------------+------------+ > {code} > {code} > 0: jdbc:drill:schema=dfs> select * from `temp.json` order by flatten(lst); > +------------+ > | * | > +------------+ > | null | > | null | > | null | > +------------+ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)