zhangjun0x01 opened a new pull request, #1060:
URL: https://github.com/apache/incubator-paimon/pull/1060
*(Please specify the module before the PR name: [core] ... or [flink] ...)*
### Purpose
*fix the error format date.*
the error is
```
org.apache.paimon.operation.PartitionExpireTest
Error: testFilterCommittedAfterExpiring Time elapsed: 5.714 s <<< ERROR!
java.time.format.DateTimeParseException: Text '20230499' could not be
parsed: Invalid value for DayOfMonth (valid values 1 - 28/31): 99
at
java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:1920)
at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1855)
at java.time.LocalDate.parse(LocalDate.java:400)
at
org.apache.paimon.partition.PartitionTimeExtractor.toLocalDateTime(PartitionTimeExtractor.java:112)
at
org.apache.paimon.partition.PartitionTimeExtractor.extract(PartitionTimeExtractor.java:97)
at
org.apache.paimon.operation.PartitionExpire.doExpire(PartitionExpire.java:95)
at
org.apache.paimon.operation.PartitionExpire.expire(PartitionExpire.java:85)
at
org.apache.paimon.operation.PartitionExpire.expire(PartitionExpire.java:74)
at
org.apache.paimon.table.sink.TableCommitImpl.expire(TableCommitImpl.java:145)
at
org.apache.paimon.table.sink.TableCommitImpl.commit(TableCommitImpl.java:105)
at
org.apache.paimon.operation.PartitionExpireTest.testFilterCommittedAfterExpiring(PartitionExpireTest.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
```
### Tests
*(List UT and IT cases to verify this change)*
### API and Format
*(Does this change affect API or storage format)*
### Documentation
*(Does this change introduce a new feature)*
--
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]