aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorZdenek Farana <zdenek.farana@gmail.com>2014-08-29 15:39:15 -0700
committerMichael Armbrust <michael@databricks.com>2014-08-29 15:39:15 -0700
commit98ddbe6cdbe4141df3d008dcb675ecd682c97492 (patch)
tree91e2e5ddfa1c5a0f5affcd1ab8bbe7b13f4dc70c /examples
parent634d04b87c2744d645e9c26e746ba2006371d9b5 (diff)
downloadspark-98ddbe6cdbe4141df3d008dcb675ecd682c97492.tar.gz
spark-98ddbe6cdbe4141df3d008dcb675ecd682c97492.tar.bz2
spark-98ddbe6cdbe4141df3d008dcb675ecd682c97492.zip
[SPARK-3173][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) Motivation: http://www.aproint.com/aggregation-with-spark-sql/ - [x] modify SqlParser so it supports casting to TIMESTAMP (workaround for item 2) - [x] the string literal should be converted into Timestamp if the column is Timestamp. Author: Zdenek Farana <zdenek.farana@gmail.com> Author: Zdenek Farana <zdenek.farana@aproint.com> Closes #2084 from byF/SPARK-3173 and squashes the following commits: 442b59d [Zdenek Farana] Fixed test merge conflict 2dbf4f6 [Zdenek Farana] Merge remote-tracking branch 'origin/SPARK-3173' into SPARK-3173 65b6215 [Zdenek Farana] Fixed timezone sensitivity in the test 47b27b4 [Zdenek Farana] Now works in the case of "StringLiteral=TimestampColumn" 96a661b [Zdenek Farana] Code style change 491dfcf [Zdenek Farana] Added test cases for SPARK-3173 4446b1e [Zdenek Farana] A string literal is casted into Timestamp when the column is Timestamp. 59af397 [Zdenek Farana] Added a new TIMESTAMP keyword; CAST to TIMESTAMP now can be used in SQL expression.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions