Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28012

Hive UDF supports struct type foldable expression

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Currently using hive udf, the parameter is struct type, there will be an exception thrown.

      No handler for Hive UDF 'xxxUDF': java.lang.RuntimeException: Hive doesn't support the constant type [StructType(StructField(name,StringType,true), StructField(value,DecimalType(3,1),true))]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dzcxzl dzcxzl
                Reporter:
                dzcxzl dzcxzl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: