[ https://issues.apache.org/jira/browse/SPARK-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301079#comment-14301079 ]
Apache Spark commented on SPARK-5526: ------------------------------------- User 'viper-kun' has created a pull request for this issue: https://github.com/apache/spark/pull/4307 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org