sahilkhan786000 opened a new pull request, #1036:
URL: https://github.com/apache/incubator-xtable/pull/1036

   ## *Important Read*
   - Fixes #983
   
   ## What is the purpose of the pull request
   
   This pull request fixes generated partition-value extraction for Delta 
tables that enable column mapping.
   
   Previously, generated partition columns such as `yearOfBirth` were resolved 
using their logical names. With column mapping enabled, Delta partition values 
are keyed by physical names, causing partition values to resolve incorrectly or 
return `null`.
   
   This change updates both the Standalone and Kernel partition extractors to 
use physical names when available.
   
   ## Brief change log
   
   - Added column-mapping-aware generated partition name resolution to 
`DeltaPartitionExtractor`.
   - Added the same resolution to `DeltaKernelPartitionExtractor`.
   - Preserved logical-name fallback for tables without column mapping.
   - Added regression tests covering generated partition columns with physical 
names.
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - `./mvnw -pl xtable-core -am 
-Dtest=TestDeltaPartitionExtractor,TestDeltaKernelPartitionExtractor 
-Dsurefire.failIfNoSpecifiedTests=false test`
     - Passed: 32 tests, 0 failures.
   - `./mvnw -pl xtable-core -am -DskipTests package`
     - Passed.
   - `git diff --check`
     - Passed.
   - `./mvnw spotless:check`
     - Could not complete because the available JVM 25 is incompatible with the 
repository’s configured Google Java Format version, which requires Java 11.


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