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 2016/08/18 03:55:21 UTC

[jira] [Assigned] (SPARK-17117) 'SELECT 1 / NULL` throws AnalysisException, while 'SELECT 1 * NULL` works

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

Apache Spark reassigned SPARK-17117:
------------------------------------

    Assignee: Apache Spark

> 'SELECT 1 / NULL` throws AnalysisException, while 'SELECT 1 * NULL` works
> -------------------------------------------------------------------------
>
>                 Key: SPARK-17117
>                 URL: https://issues.apache.org/jira/browse/SPARK-17117
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Josh Rosen
>            Assignee: Apache Spark
>
> Running {{SELECT 1 / NULL}} fails with
> {code}
> org.apache.spark.sql.AnalysisException: cannot resolve '(1 / NULL)' due to data type mismatch: differing types in '(1 / NULL)' (int and null).
> {code}
> but {{SELECT 1 * NULL}} returns {{NULL}}, as expected.



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