You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/04 08:32:00 UTC

[jira] [Commented] (DRILL-7307) casthigh for decimal type can lead to the issues with VarDecimalHolder

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

ASF GitHub Bot commented on DRILL-7307:
---------------------------------------

dgrinchenko commented on pull request #1820: DRILL-7307: casthigh for decimal type can lead to the issues with VarDecimalHolder
URL: https://github.com/apache/drill/pull/1820
 
 
   For problem description please see: [DRILL-7307](https://issues.apache.org/jira/browse/DRILL-7307)
   
   - Fixed code-gen for VarDecimal type
   - Fixed code-gen issue with nullable holders for simple cast functions
   with passed constants as arguments.
   - Code-gen now honnoring DataType.Optional type defined by UDF for
   NULL-IF-NULL functions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> casthigh for decimal type can lead to the issues with VarDecimalHolder
> ----------------------------------------------------------------------
>
>                 Key: DRILL-7307
>                 URL: https://issues.apache.org/jira/browse/DRILL-7307
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Dmytriy Grinchenko
>            Assignee: Dmytriy Grinchenko
>            Priority: Critical
>             Fix For: 1.17.0
>
>
> The decimal cast may lead to issues with VarDercimal transformation and issues at uml functions which using casthigh under the hood
> Example: 
> {code}
> apache drill> select casthigh(cast(1025.0 as decimal(28,8)));
> Error: SYSTEM ERROR: CompileException: Line 25, Column 60: "isSet" is neither a method, a field, nor a member class of "org.apache.drill.exec.expr.holders.VarDecimalHolder"
> Fragment 0:0
> Please, refer to logs for more information.
> {code}



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