You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (JIRA)" <ji...@apache.org> on 2019/06/17 13:31:00 UTC

[jira] [Updated] (SPARK-28012) Hive UDF supports struct type foldable expression

     [ https://issues.apache.org/jira/browse/SPARK-28012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzcxzl updated SPARK-28012:
---------------------------
    Summary: Hive UDF supports struct type foldable expression  (was: Hive UDF supports literal struct type)

> Hive UDF supports struct type foldable expression
> -------------------------------------------------
>
>                 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
>            Priority: Trivial
>
> 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))]



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

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