tkalkirill commented on code in PR #13569:
URL: https://github.com/apache/ignite/pull/13569#discussion_r4093366619
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/util/TypeUtils.java:
##########
@@ -514,7 +543,20 @@ else if (UUID.class.equals(storageType)) {
/** */
private static long fromLocalTs(DataContext ctx, long ts) {
- TimeZone tz = DataContext.Variable.TIME_ZONE.get(ctx);
+ if (ts < GREGORIAN_CUTOVER) {
Review Comment:
This fix addresses the incorrect conversion of historical dates, and the
tests from PR #11822 pass. However, literals such as DATE '1582-10-05' still
fail during parsing. After this fix is merged, we should address those
remaining cases under IGNITE-23772.
--
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]