You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marco Gaido (JIRA)" <ji...@apache.org> on 2017/11/10 15:40:00 UTC
[jira] [Comment Edited] (SPARK-22493) sql null checks for
Double.NaN do not work
[ https://issues.apache.org/jira/browse/SPARK-22493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247660#comment-16247660 ]
Marco Gaido edited comment on SPARK-22493 at 11/10/17 3:39 PM:
---------------------------------------------------------------
{{NaN}} is not {{null}}. They are different things. If you want to filter {{NaN}} you can use the SQL function {{isnan}}.
was (Author: mgaido):
`NaN` is not `null`. They are different things. If you want to filter `NaN` you can use the SQL function `isnan`.
> sql null checks for Double.NaN do not work
> ------------------------------------------
>
> Key: SPARK-22493
> URL: https://issues.apache.org/jira/browse/SPARK-22493
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.0
> Environment: derby version is 10.14.1.0
> Reporter: MIkhail Osckin
> Priority: Minor
> Attachments: sql_null.png
>
>
> I'm using spark in standalone mode and derbydb for hive-metastore. By some reason i can't filter nan values in my sql queries.
> !sql_null.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org