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

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

    Assignee:     (was: 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to