Skip to content

Commit 5333afd

Browse files
committed
'modifydocs'
1 parent 2f5b388 commit 5333afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sql-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,4 +961,4 @@ Below are the scenarios in which Hive and Spark generate different results:
961961
* `SQRT(n)` If n < 0, Hive returns null, Spark SQL returns NaN.
962962
* `ACOS(n)` If n < -1 or n > 1, Hive returns null, Spark SQL returns NaN.
963963
* `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.
964+
* `CAST(n AS TIMESTAMP)` If n is integral numbers, Hive treats n as milliseconds, Spark SQL treats n as seconds.

0 commit comments

Comments
 (0)