HyukjinKwon commented on a change in pull request #29009:
URL: https://github.com/apache/spark/pull/29009#discussion_r450147882
##########
File path: docs/sql-migration-guide.md
##########
@@ -970,3 +970,4 @@ Below are the scenarios in which Hive and Spark generate
different results:
* `ACOS(n)` If n < -1 or n > 1, Hive returns null, Spark SQL returns NaN.
* `ASIN(n)` If n < -1 or n > 1, Hive returns null, Spark SQL returns NaN.
* `CAST(n AS TIMESTAMP)` If n is integral numbers, Hive treats n as
milliseconds, Spark SQL treats n as seconds.
+* `REGEXP(str, patten)` Hive support this function, Spark SQL use RLIKE
instead.
Review comment:
Also, technically this isn's in "the scenarios in which Hive and Spark
generate different results".
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]