Vladsz83 commented on a change in pull request #9826:
URL: https://github.com/apache/ignite/pull/9826#discussion_r820645024
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/util/TypeUtils.java
##########
@@ -343,12 +346,19 @@ else if (Duration.class.equals(storageType)) {
else
throw new IgniteException("Expected DAY-TIME interval
literal");
}
- else if (Period.class.equals(storageType))
+ else if (Period.class.equals(storageType)) {
if (literal instanceof SqlIntervalLiteral &&
literal.getValueAs(SqlIntervalLiteral.IntervalValue.class).getIntervalQualifier().isYearMonth())
internalVal = literal.getValueAs(Long.class).intValue();
else
throw new IgniteException("Expected YEAR-MONTH interval
literal");
+ }
+ else if (UUID.class.equals(storageType)) {
Review comment:
Fixed
--
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]