drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DRILL-1089) SUBSTRING(string, from) function fails
Date Wed, 22 Apr 2015 15:54:58 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Krystal closed DRILL-1089.
--------------------------

Verified that bug is fixed.   Automated test at:
/private-sql-hadoop-test/framework/resources/Functional/Passing/p1tests/substring.q

> 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
>            Assignee: Mehant Baid
>            Priority: Blocker
>             Fix For: 0.4.0
>
>
> 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.3.4#6332)

Mime
View raw message