drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3761) CastIntDecimal implementation should not update the input holder.
Date Thu, 10 Sep 2015 22:09:47 GMT
Jinfeng Ni created DRILL-3761:
---------------------------------

             Summary: CastIntDecimal implementation should not update the input holder. 
                 Key: DRILL-3761
                 URL: https://issues.apache.org/jira/browse/DRILL-3761
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
            Reporter: Jinfeng Ni
            Assignee: Jinfeng Ni


CastIntDecimal implementation would update the input holder's value, which may cause some
side effect. This is especially true, when the run-time generated code tries to re-use the
holder for common expressions. 

In general, Drill's build-in/UDF implementation had better not modify the input holder.





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

Mime
View raw message