Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35260 DataSourceV2 Function Catalog implementation
  3. SPARK-35389

Analyzer should set progagateNull to false for magic function invocation

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      For both Invoke and StaticInvoke used by magic method of ScalarFunction, we should set propgateNull to false, so that null values will be passed to the UDF for evaluation, instead of bypassing that and directly return null.

      Attachments

        Activity

          People

            csun Chao Sun
            csun Chao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: