diff options
author | Brandon Bradley <bradleytastic@gmail.com> | 2016-01-11 14:21:50 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2016-01-11 14:21:50 -0800 |
commit | a767ee8a0599f5482717493a3298413c65d8ff89 (patch) | |
tree | 28e5320f249289052379dbb41abcc701826d9754 /docs/sql-programming-guide.md | |
parent | a44991453a43615028083ba9546f5cd93112f6bd (diff) | |
download | spark-a767ee8a0599f5482717493a3298413c65d8ff89.tar.gz spark-a767ee8a0599f5482717493a3298413c65d8ff89.tar.bz2 spark-a767ee8a0599f5482717493a3298413c65d8ff89.zip |
[SPARK-12758][SQL] add note to Spark SQL Migration guide about TimestampType casting
Warning users about casting changes.
Author: Brandon Bradley <bradleytastic@gmail.com>
Closes #10708 from blbradley/spark-12758.
Diffstat (limited to 'docs/sql-programming-guide.md')
-rw-r--r-- | docs/sql-programming-guide.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index b058833616..bc89c78156 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -2151,6 +2151,11 @@ options. ... {% endhighlight %} + - From Spark 1.6, LongType casts to TimestampType expect seconds instead of microseconds. This + change was made to match the behavior of Hive 1.2 for more consistent type casting to TimestampType + from numeric types. See [SPARK-11724](https://issues.apache.org/jira/browse/SPARK-11724) for + details. + ## Upgrading From Spark SQL 1.4 to 1.5 - Optimized execution using manually managed memory (Tungsten) is now enabled by default, along with |