HyukjinKwon commented on a change in pull request #30687:
URL: https://github.com/apache/spark/pull/30687#discussion_r539781975
##########
File path: docs/sql-ref-ansi-compliance.md
##########
@@ -163,6 +163,7 @@ The behavior of some SQL operators can be different under
ANSI mode (`spark.sql.
- `array_col[index]`: This operator throws `ArrayIndexOutOfBoundsException`
if using invalid indices.
- `map_col[key]`: This operator throws `NoSuchElementException` if key does
not exist in map.
- `CAST(string_col AS TIMESTAMP)`: This operator should fail with an
exception if the input string can't be parsed.
+ - `CAST(string_col AS Date)`: This operator should fail with an exception if
the input string can't be parsed.
Review comment:
one nit: `Date` -> `DATE`?
----------------------------------------------------------------
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]