PyRSA commented on code in PR #11031:
URL: https://github.com/apache/paimon/pull/11031#discussion_r4571738824
##########
paimon-python/pypaimon/execution/python/read/reader/aggregate/aggregators.py:
##########
@@ -1299,8 +1325,19 @@ def _resolve_ts_field_index(self, row_type: RowType,
options: CoreOptions, field
)
)
+ ts_type = row_type.fields[ts_field_index].type
+ ts_base = _atomic_base_name(ts_type)
+ if ts_base not in _KEYTIME_TIMESTAMP_TYPES:
Review Comment:
Addressed.
Removed the timestamp type whitelist from the Python aggregator, preserving
the historical comparison behavior for previously supported types, including
BINARY, VARBINARY, and BOOLEAN.
Added regression tests covering multiple committed versions and reopening
existing tables to verify that the newer timestamp is correctly selected.
The Python aggregator no longer rejects these types during initialization.
--
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]