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 AB4B211B32 for ; Fri, 27 Jun 2014 19:10:53 +0000 (UTC) Received: (qmail 68419 invoked by uid 500); 27 Jun 2014 19:10:53 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 68394 invoked by uid 500); 27 Jun 2014 19:10:53 -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 68384 invoked by uid 99); 27 Jun 2014 19:10:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 19:10:53 +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 19:10:52 +0000 Received: (qmail 67676 invoked by uid 99); 27 Jun 2014 19:10:27 -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 19:10:27 +0000 Date: Fri, 27 Jun 2014 19:10:24 +0000 (UTC) From: "Krystal (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1089) SUBSTRING(string, from) function fails 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-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Krystal updated DRILL-1089: --------------------------- Description: git.commit.id.abbrev=3ea8eb5 git.build.time=26.06.2014 @ 14\:15\:29 PDT The following query ran successfully in the last build; but failed in the latest build. 0: jdbc:drill:schema=dfs> select substring(name, 5) from voter where age < 20; message: "Failure while setting up Foreman. < AssertionError:[ typeName.allowsPrecScale(true, false) ]" ] If I use substr instead of substring, then the query succeeds. > SUBSTRING(string, from) function fails > -------------------------------------- > > Key: DRILL-1089 > URL: https://issues.apache.org/jira/browse/DRILL-1089 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Reporter: Krystal > > git.commit.id.abbrev=3ea8eb5 > git.build.time=26.06.2014 @ 14\:15\:29 PDT > The following query ran successfully in the last build; but failed in the latest build. > 0: jdbc:drill:schema=dfs> select substring(name, 5) from voter where age < 20; > message: "Failure while setting up Foreman. < AssertionError:[ typeName.allowsPrecScale(true, false) ]" > ] > If I use substr instead of substring, then the query succeeds. -- This message was sent by Atlassian JIRA (v6.2#6252)