Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.