You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2016/04/01 17:42:25 UTC

[jira] [Closed] (DRILL-742) TO_NUMBER functions fail with "UnsupportedOperationException" error

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

Krystal closed DRILL-742.
-------------------------

Verified

> TO_NUMBER functions fail with "UnsupportedOperationException" error
> -------------------------------------------------------------------
>
>                 Key: DRILL-742
>                 URL: https://issues.apache.org/jira/browse/DRILL-742
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Krystal
>            Assignee: Krystal
>             Fix For: 0.4.0
>
>
> Below are some examples of to_number functions that failed to execute:
> select to_number('987,966', '999999') from voter where voter_id=10;
> select to_number('98.966', '99.999') from voter where voter_id=10;
> select to_number('$2,900.00', 'L9G999D99') from voter where voter_id=10;
> select to_number('00123456789', '00999999999') from voter where voter_id=10;
> select to_number('$2,900.00', 'L9G999D99') from voter where voter_id=10;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)