We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f5b388 commit 5333afdCopy full SHA for 5333afd
docs/sql-migration-guide.md
@@ -961,4 +961,4 @@ Below are the scenarios in which Hive and Spark generate different results:
961
* `SQRT(n)` If n < 0, Hive returns null, Spark SQL returns NaN.
962
* `ACOS(n)` If n < -1 or n > 1, Hive returns null, Spark SQL returns NaN.
963
* `ASIN(n)` If n < -1 or n > 1, Hive returns null, Spark SQL returns NaN.
964
-* `CAST(n as timestamp)` If n is Byte/Short/Int/Long data type, Hive treat n as milliseconds unit , while Spark SQL as seconds unit.
+* `CAST(n AS TIMESTAMP)` If n is integral numbers, Hive treats n as milliseconds, Spark SQL treats n as seconds.
0 commit comments