Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2BB7CBBD for ; Fri, 28 Nov 2014 20:22:12 +0000 (UTC) Received: (qmail 52912 invoked by uid 500); 28 Nov 2014 20:22:12 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 52838 invoked by uid 500); 28 Nov 2014 20:22:12 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 52826 invoked by uid 99); 28 Nov 2014 20:22:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2014 20:22:12 +0000 Date: Fri, 28 Nov 2014 20:22:12 +0000 (UTC) From: "Aman Sinha (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1729) Exception when selecting more fields 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-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228507#comment-14228507 ] Aman Sinha commented on DRILL-1729: ----------------------------------- Hanifi had sent a review board link for this: https://reviews.apache.org/r/28488/ I reviewed and provided comments and the revised version looks good and passes regression tests. I will commit it. [~hgunes] I have your github location but could you also upload the patch to this bug for future reference ? > Exception when selecting more fields > ------------------------------------ > > Key: DRILL-1729 > URL: https://issues.apache.org/jira/browse/DRILL-1729 > Project: Apache Drill > Issue Type: Bug > Reporter: Tomer Shiran > Assignee: Aman Sinha > Fix For: 0.7.0 > > > The first query here works, while the second doesn't. The only difference is another field added to the SELECT. > {code} > 0: jdbc:drill:zk=localhost:2181> SELECT name, categories FROM dfs.root.`Users/tshiran/Development/demo/data/yelp/business.json` WHERE true and REPEATED_CONTAINS(categories, 'Australian'); > +------------+------------+ > | name | categories | > +------------+------------+ > | The Australian AZ | ["Bars","Burgers","Nightlife","Australian","Sports Bars","Restaurants"] | > +------------+------------+ > 1 row selected (3.068 seconds) > 0: jdbc:drill:zk=localhost:2181> SELECT business_id, name, categories FROM dfs.root.`Users/tshiran/Development/demo/data/yelp/business.json` WHERE true and REPEATED_CONTAINS(categories, 'Australian'); > Query failed: Failure while running sql. > Error: exception while executing query: Failure while executing query. (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)