srielau commented on code in PR #38448:
URL: https://github.com/apache/spark/pull/38448#discussion_r1009435893
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala:
##########
@@ -2397,7 +2397,11 @@ class AstBuilder extends
SqlBaseParserBaseVisitor[AnyRef] with SQLConfHelper wit
s"contains illegal character for hexBinary: $padding$value");
}
case other =>
- throw QueryParsingErrors.literalValueTypeUnsupportedError(other, ctx)
+ throw QueryParsingErrors.literalValueTypeUnsupportedError(
+ unsupportedType = other,
+ supportedTypes =
+ Seq("DATE", "TIMESTAMP_NTZ", "TIMESTAMP_LTZ", "TIMESTAMP",
"INTERVAL", "X"),
Review Comment:
What's X? Hexadecimal?
--
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]