Commit 91ced1f
**Which issue does this PR close?**
Closes #2451
**Rationale for this change**
The existing Paimon COW test verifies only a single commit. It does not
protect against stale rows being returned after a later commit updates
an existing primary key.
This change adds multi-commit correctness coverage while keeping the
native scan implementation unchanged.
**What changes are included in this PR?**
Updates the existing Paimon COW primary-key integration test to:
- Write the initial rows.
- Write a newer value for an existing primary key in a second commit.
- Verify that only the latest value is returned.
- Verify that the query still uses `NativePaimonV2TableScan`.
**Are there any user-facing changes?**
No user-facing changes.
**How was this patch tested?**
UT.
---------
Signed-off-by: weimingdiit <weimingdiit@gmail.com>
Co-authored-by: Shilun Fan <slfan1989@apache.org>
1 parent 53200b0 commit 91ced1f
1 file changed
Lines changed: 20 additions & 0 deletions
File tree
- thirdparty/auron-paimon/src/test/scala/org/apache/auron/paimon
thirdparty/auron-paimon/src/test/scala/org/apache/auron/paimon/AuronPaimonV2IntegrationSuite.scala
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
146 | 166 | | |
147 | 167 | | |
148 | 168 | | |
| |||
0 commit comments