GitHub user byF opened a pull request:
https://github.com/apache/spark/pull/2084
[SPARK-3065][SQL] Timestamp support in the parser
If you have a table with TIMESTAMP column, that column can't be used in
WHERE clause properly - it is not evaluated properly.
[More](https://issues.apache.org/jira/browse/SPARK-3173)
- [x] modify SqlParser so it supports casting to TIMESTAMP (workaround for
item 2)
- [ ] modify Comparable expression evaluation so the the explicit casting
is not necessary
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aproint/spark SPARK-3173
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2084.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2084
----
commit 59af3970ee7e0e293f012f0ffa89edbdf1793a9b
Author: Zdenek Farana <[email protected]>
Date: 2014-08-21T17:05:53Z
Added a new TIMESTAMP keyword; CAST to TIMESTAMP now can be used in SQL
expression.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]