drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1089) SUBSTRING(string, from) function fails
Date Thu, 03 Jul 2014 07:13:24 GMT

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

Mehant Baid resolved DRILL-1089.
--------------------------------

    Resolution: Duplicate

Fix is in OPTIQ-331, added a patch that adds testcase in Drill for both  DRILL-1098 and DRILL-1089.

> 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
>
> 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)

Mime
View raw message