You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2016/01/11 23:21:56 UTC

spark git commit: [SPARK-12758][SQL] add note to Spark SQL Migration guide about TimestampType casting

Repository: spark
Updated Branches:
  refs/heads/master a44991453 -> a767ee8a0


[SPARK-12758][SQL] add note to Spark SQL Migration guide about TimestampType casting

Warning users about casting changes.

Author: Brandon Bradley <br...@gmail.com>

Closes #10708 from blbradley/spark-12758.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a767ee8a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a767ee8a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a767ee8a

Branch: refs/heads/master
Commit: a767ee8a0599f5482717493a3298413c65d8ff89
Parents: a449914
Author: Brandon Bradley <br...@gmail.com>
Authored: Mon Jan 11 14:21:50 2016 -0800
Committer: Michael Armbrust <mi...@databricks.com>
Committed: Mon Jan 11 14:21:50 2016 -0800

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/a767ee8a/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index b058833..bc89c78 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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org