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

Herman van Hovell resolved SPARK-17117.
---------------------------------------
       Resolution: Fixed
         Assignee: Peter Lee
    Fix Version/s: 2.1.0
                   2.0.1

> '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: Peter Lee
>             Fix For: 2.0.1, 2.1.0
>
>
> 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