You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2014/10/14 02:49:35 UTC

[jira] [Commented] (DRILL-1526) Improve cast functions that cast varchar to numeric type

    [ https://issues.apache.org/jira/browse/DRILL-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170312#comment-14170312 ] 

Jinfeng Ni commented on DRILL-1526:
-----------------------------------

+1

> Improve cast functions that cast varchar to numeric type
> --------------------------------------------------------
>
>                 Key: DRILL-1526
>                 URL: https://issues.apache.org/jira/browse/DRILL-1526
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Mehant Baid
>            Assignee: Mehant Baid
>             Fix For: 0.7.0
>
>         Attachments: DRILL-1526.patch
>
>
> The cast function implementation to go from varchar to int/bigint is relatively large and every time we use this function, we add this logic to our run time generated class and JVM has to optimize the same logic multiple times. Instead it would be useful to have a utility method that contains the casting logic, which will be called in the runtime generated code that the JVM will need to optimize only once. 



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