Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3761

CastIntDecimal implementation should not update the input holder.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Functions - Drill
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              mehant Mehant Baid
              Reporter:
              jni Jinfeng Ni
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: