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

CastIntDecimal implementation should not update the input holder.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Functions - Drill
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: