yaooqinn commented on a change in pull request #32176:
URL: https://github.com/apache/spark/pull/32176#discussion_r614100082
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryParsingErrors.scala
##########
@@ -367,4 +368,10 @@ object QueryParsingErrors {
new ParseException("LOCAL is supported only with file: scheme", ctx)
}
+ def mixedIntervalError(ctx: IntervalContext): Throwable = {
+ new ParseException(
+ "Mixing of year-month and day-time fields is not allowed. " +
Review comment:
Does ANSI allow mixing daytime interval with same unit e.g. `day` and
`day`
--
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]