spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Cheung (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-22469) Accuracy problem in comparison with string and numeric
Date Wed, 15 Nov 2017 19:03:00 GMT

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

Felix Cheung updated SPARK-22469:
---------------------------------
    Target Version/s: 2.2.2
         Description: 
{code:sql}
select '1.5' > 0.5; // Result is NULL in Spark but is true in Hive.
{code}

IIUC, we can cast string as double like Hive.

  was:

{code:sql}
select '1.5' > 0.5; // Result is NULL in Spark but is true in Hive.
{code}

IIUC, we can cast string as double like Hive.


> Accuracy problem in comparison with string and numeric 
> -------------------------------------------------------
>
>                 Key: SPARK-22469
>                 URL: https://issues.apache.org/jira/browse/SPARK-22469
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Lijia Liu
>            Assignee: Lijia Liu
>             Fix For: 2.3.0
>
>
> {code:sql}
> select '1.5' > 0.5; // Result is NULL in Spark but is true in Hive.
> {code}
> IIUC, we can cast string as double like Hive.



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


Mime
View raw message