You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "William Benton (JIRA)" <ji...@apache.org> on 2014/08/05 16:16:12 UTC

[jira] [Updated] (SPARK-2863) Emulate Hive type coercion in native reimplementations of Hive functions

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

William Benton updated SPARK-2863:
----------------------------------

    Summary: Emulate Hive type coercion in native reimplementations of Hive functions  (was: Emulate Hive type coercion in native reimplementations of Hive UDFs)

> Emulate Hive type coercion in native reimplementations of Hive functions
> ------------------------------------------------------------------------
>
>                 Key: SPARK-2863
>                 URL: https://issues.apache.org/jira/browse/SPARK-2863
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.0
>            Reporter: William Benton
>
> Native reimplementations of Hive functions no longer have the same type-coercion behavior as they would if executed via Hive.  As <a href="https://github.com/apache/spark/pull/1750#discussion_r15790970"> Michael Armbrust points out</a>, queries like {{SELECT SQRT("2") FROM src LIMIT 1}} succeed in Hive but fail if {{SQRT}} is implemented natively.
> Spark SQL should have Hive-compatible type coercions for arguments to natively-implemented functions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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