suxiaogang223 opened a new pull request, #65680:
URL: https://github.com/apache/doris/pull/65680

   ### What problem does this PR solve?
   
   The branch-4.1 Paimon partition metadata backport makes partition-only scans 
produce an empty physical-file projection. The JNI scanner parsed empty 
`required_fields` as one empty field, mapped it to index `-1`, and failed 
during MTMV `ANALYZE` with `Index -1 out of bounds`.
   
   The runtime-filter regression also set `enable_file_scanner_v2`, which is 
unavailable on branch-4.1, so the suite failed while setting and unsetting that 
variable.
   
   ### What changed?
   
   - Treat empty Paimon JNI projections as zero-field scans.
   - Append virtual row counts so BE can fill partition columns from path 
metadata.
   - Validate required field/type lengths and projection lookup.
   - Add empty-projection constructor coverage.
   - Remove the unsupported scanner variable from the branch-4.1 regression.
   
   ### Validation
   
   - `./build.sh --fe`
   - `mvn -pl be-java-extensions/paimon-scanner -am -Dtest=PaimonJniScannerTest 
-Dsurefire.failIfNoSpecifiedTests=false test`
   - `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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to