juntaozhang commented on PR #8185:
URL: https://github.com/apache/paimon/pull/8185#issuecomment-5251374404
> A "future delta partition leak" issue can be consistently reproduced: a
query for `03:40` incorrectly returns `[7,1,7,20250810,03:40]` (which
corresponds to `03:45`). The root cause lies in the delta range planning logic
near `ChainGroupReadTable.java:445`; the test case
`SparkChainTableITCase.java:2473` included in the PR fails as a result.
Hi @JingsongLi,
Thank you very much for your continued patience and attention to this PR.
Give a summary for this PR:
- the main computational framework remains unchanged in
`ChainTableUtils.getDeltaPartitions`.
- `PartitionTimeResolver` currently calculates the step size based on the
smallest time unit controlled by the pattern variables via `extractMinStep()`.
- `resolvePartitionValues(...)` converts a `LocalDateTime `back to partition
column values
- `parsePartitionValues(...)` still delegates to
`PartitionTimeExtractor.extract(...) `to parse `partitionValues` into
`LocalDateTime`.
Could you please rerun the failing test with the following command:
```
mvn test -pl paimon-spark/paimon-spark-ut -am -Pfast-build -Pspark3 \
-DwildcardSuites=none \
-DfailIfNoTests=false \
-Dtest=SparkChainTableITCase#testChainTableWithMinuteLevelPartitions
```
--
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]