dzcxzl created SPARK-28012:
------------------------------

             Summary: Hive UDF supports literal struct type
                 Key: SPARK-28012
                 URL: https://issues.apache.org/jira/browse/SPARK-28012
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: dzcxzl


Currently using hive udf, the parameter is literal struct type, will report an 
error.

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))]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to