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 9FADF10E53 for ; Wed, 21 Jan 2015 22:32:34 +0000 (UTC) Received: (qmail 12584 invoked by uid 500); 21 Jan 2015 22:32:34 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 12551 invoked by uid 500); 21 Jan 2015 22:32:34 -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 12540 invoked by uid 99); 21 Jan 2015 22:32:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 22:32:34 +0000 Date: Wed, 21 Jan 2015 22:32:34 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-1727) REPEATED_CONTAINS sometimes doesn't work 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-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid resolved DRILL-1727. -------------------------------- Resolution: Fixed > REPEATED_CONTAINS sometimes doesn't work > ---------------------------------------- > > Key: DRILL-1727 > URL: https://issues.apache.org/jira/browse/DRILL-1727 > Project: Apache Drill > Issue Type: Bug > Reporter: Tomer Shiran > Assignee: Mehant Baid > Fix For: 1.0.0 > > > Here are three queries. It seems that they should all work (the first is the most intuitive one), but only one of them does. > {code} > 0: jdbc:drill:zk=localhost:2181> SELECT name FROM dfs.root.`Users/tshiran/Development/demo/data/yelp/business.json` WHERE REPEATED_CONTAINS(categories, 'Mediterranean') LIMIT 1; > Query failed: Failure while running sql. > Error: exception while executing query: Failure while executing query. (state=,code=0) > 0: jdbc:drill:zk=localhost:2181> SELECT name FROM dfs.root.`Users/tshiran/Development/demo/data/yelp/business.json` WHERE true and REPEATED_CONTAINS(categories, 'Mediterranean') LIMIT 1; > +------------+ > | name | > +------------+ > | People's Bakery | > +------------+ > 1 row selected (0.15 seconds) > 0: jdbc:drill:zk=localhost:2181> SELECT name FROM dfs.root.`Users/tshiran/Development/demo/data/yelp/business.json` WHERE 1 and REPEATED_CONTAINS(categories, 'Mediterranean') LIMIT 1; > 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)