You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "xukun (JIRA)" <ji...@apache.org> on 2015/02/02 10:46:35 UTC

[jira] [Updated] (SPARK-5526) expression [date '2011-01-01' = cast(timestamp('2011-01-01 23:24:25') as date)] return false

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

xukun updated SPARK-5526:
-------------------------
    Fix Version/s:     (was: 1.3.0)

> expression [date '2011-01-01' = cast(timestamp('2011-01-01 23:24:25') as date)] return false
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-5526
>                 URL: https://issues.apache.org/jira/browse/SPARK-5526
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: xukun
>
> previous work for test case,
> create table date_1(d date); 
> insert overwrite table date_1 select cast('2011-01-01' as date) from src tablesample (1 rows); 
> In Hive,execute sql  {select date '2011-01-01' = cast(timestamp('2011-01-01 23:24:25') as date) from date_1 limit 1; } return true,but in spark SQL, return false



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