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 03E7211798 for ; Fri, 27 Jun 2014 17:46:53 +0000 (UTC) Received: (qmail 90689 invoked by uid 500); 27 Jun 2014 17:46:53 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 90662 invoked by uid 500); 27 Jun 2014 17:46:52 -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 90653 invoked by uid 99); 27 Jun 2014 17:46:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 17:46:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 27 Jun 2014 17:46:54 +0000 Received: (qmail 88923 invoked by uid 99); 27 Jun 2014 17:46:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 17:46:28 +0000 Date: Fri, 27 Jun 2014 17:46:28 +0000 (UTC) From: "Yash Sharma (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DRILL-561) Drill fails to parse TRIM function 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-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046184#comment-14046184 ] Yash Sharma edited comment on DRILL-561 at 6/27/14 5:45 PM: ------------------------------------------------------------ Also related to DRILL-743. But 743 only adds btrim - and does not convert the trim call to btrim. was (Author: yash360@gmail.com): Also related to DRILL-743. > Drill fails to parse TRIM function > ---------------------------------- > > Key: DRILL-561 > URL: https://issues.apache.org/jira/browse/DRILL-561 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Affects Versions: 1.0.0 > Reporter: Krystal > Assignee: Mehant Baid > Fix For: 1.0.0-BETA1 > > Attachments: 0001-implement-btrim-trim.patch, DRILL-561.patch > > > The following TRIM function failed: > select trim(name) from voter where rownum=20; > Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "06ab5b53-7781-44fb-ae8f-2c986065e952" > endpoint { > address: "qa-node57.qa.lab" > user_port: 31010 > control_port: 31011 > data_port: 31012 > } > error_type: 0 > message: "Failure while parsing sql. < ValidationException:[ java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 ] < IndexOutOfBoundsException:[ Index: 0, Size: 0 ]" > ] -- This message was sent by Atlassian JIRA (v6.2#6252)