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

[jira] [Assigned] (SPARK-28012) Hive UDF supports literal struct type

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

Apache Spark reassigned SPARK-28012:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            Priority: Trivial
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org