You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2016/08/18 11:47:23 UTC
[jira] [Resolved] (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 ]
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org