You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/01/07 20:18:35 UTC

[jira] [Commented] (SPARK-5117) Hive Generic UDFs don't cast correctly

    [ https://issues.apache.org/jira/browse/SPARK-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268049#comment-14268049 ] 

Michael Armbrust commented on SPARK-5117:
-----------------------------------------

Oh, okay.  Thanks for investigating!

Its annoying that hive makes breaking changes like this.  We should probably consider writing our own UDF replacements once the UDF framework is cleaned up.

> Hive Generic UDFs don't cast correctly
> --------------------------------------
>
>                 Key: SPARK-5117
>                 URL: https://issues.apache.org/jira/browse/SPARK-5117
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Michael Armbrust
>            Assignee: Cheng Hao
>            Priority: Blocker
>
> Here's a test cast that is failing in master:
> {code}
>   createQueryTest("generic udf casting",
>     """SELECT LPAD("test",5, 0) FROM src LIMIT 1""")
> {code}
> This appears to be a regression from Spark 1.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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