You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2018/10/31 10:25:06 UTC

[jira] [Updated] (DRILL-6817) Update to_number function to be consistent with CAST function

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

Arina Ielchiieva updated DRILL-6817:
------------------------------------
    Labels: ready-to-commit  (was: )

> Update to_number function to be consistent with CAST function
> -------------------------------------------------------------
>
>                 Key: DRILL-6817
>                 URL: https://issues.apache.org/jira/browse/DRILL-6817
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Bohdan Kazydub
>            Assignee: Bohdan Kazydub
>            Priority: Major
>              Labels: ready-to-commit
>             Fix For: 1.15.0
>
>
> {{In case when `drill.exec.functions.cast_empty_string_to_null` is enabled casting empty string ('') to numeric types will return NULL. If `to_number` is used to convert empty string to a number, UnsupportedOperationException will be thrown.}}
> The aim is to make these functions (CASTs and `to_number`) work consistently as is done for date/time functions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)