paimon
paimon copied to clipboard
[Bug] Fix the bug of expire tags procedure LocalDateTime using utc timezone
Purpose
Linked issue: close #xxx
CALL sys.expire_tags(
table => 'db_name.table_name',
older_than => '2025-04-22 17:49:21'
)
When executing the above statement, ExpireTagsProcedure will incorrectly convert the date string '2025-04-22 17:49:21' to the UTC LocalDateTime 2025-04-22 09:49:21
Tests
org.apache.paimon.utils.DateTimeUtilsTest#testParseTimestampData