Peter Hagelund created SPARK-7098:
-------------------------------------
Summary: Inconsistent Timestamp behavior when used in WHERE clause
Key: SPARK-7098
URL: https://issues.apache.org/jira/browse/SPARK-7098
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.2.1
Environment: Windows, Linux, Mac OS X with Java 1.7
Reporter: Peter Hagelund
java.sql.Timestamps containing a nano value of 0 are not matched in a WHERE
clause like SELECT ... FROM ... WHERE TS_COL = '2015-04-23 02:55:00.0'. When
used with an explicit cast like SELECT ... FROM ... WHERE TS_COL =
CAST('2015-04-23 02:55:00.0' AS TIMESTAMP) things work as expected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]