JingsongLi opened a new pull request, #8411:
URL: https://github.com/apache/paimon/pull/8411

   ## Summary
   
   Fixes Data Evolution V1 UPDATE scans with global index by forcing 
matched-update row-id discovery to use full global-index search on the current 
snapshot. This prevents rows inserted after global index creation from being 
skipped during UPDATE.
   
   ## Changes
   
   - Adds a shared matched-update scan option helper for Data Evolution MERGE 
commands.
   - Applies `global-index.search-mode=full` and `scan.snapshot-id=<latest>` 
before UPDATE builds its row-id source.
   - Adds a regression test covering V1 UPDATE against rows inserted after 
BTree global index creation.
   
   ## Testing
   
   - [x] `mvn -pl paimon-spark/paimon-spark-3.5 -am -Pspark3,fast-build 
-DfailIfNoTests=false 
-DwildcardSuites=org.apache.paimon.spark.sql.RowTrackingTest -Dtest=none test`
   - [x] `JAVA_HOME=$(/usr/libexec/java_home -v 17) mvn -pl 
paimon-spark/paimon-spark-4.0 -am -Pspark4,fast-build -DskipTests compile`
   - [x] `git diff --check`


-- 
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]

Reply via email to