LuciferYang commented on code in PR #38448:
URL: https://github.com/apache/spark/pull/38448#discussion_r1010108242
##########
sql/core/src/test/resources/sql-tests/results/literals.sql.out:
##########
@@ -442,9 +442,10 @@ struct<>
-- !query output
org.apache.spark.sql.catalyst.parser.ParseException
{
- "errorClass" : "_LEGACY_ERROR_TEMP_0021",
+ "errorClass" : "UNSUPPORTED_TYPED_LITERAL",
"messageParameters" : {
- "valueType" : "GEO"
+ "supportedTypes" : "\"DATE\", \"TIMESTAMP_NTZ\", \"TIMESTAMP_LTZ\",
\"TIMESTAMP\", \"INTERVAL\", \"X\"",
Review Comment:
I think it should be a parameter, unless `UNSUPPORTED_TYPED_LITERAL` will
only be used in this scenario
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]