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

   ## What
   
   `main` currently fails to compile against the pinned `hudi.version` (1.2.0): 
`HudiConversionTarget`'s clean-metadata sync path calls a 7-arg 
`HoodieCleanStat` constructor that no longer exists in that Hudi version (it 
now requires 11 positional args, or the builder). This blocks a clean build 
from source.
   
   ## Fix
   
   Switch to `HoodieCleanStat.builder()`, setting the same fields the old 
constructor set (policy, partition path, delete path patterns, success/failed 
delete files, earliest-commit-to-retain, last-completed-commit-timestamp) plus 
the newer builder-required fields at their old implicit defaults (empty 
bootstrap-base-file lists, `partitionDeleted=false`).
   
   ## Testing
   
   `mvn compile -pl xtable-core -am` fails on current `main` with:
   ```
   constructor HoodieCleanStat in class org.apache.hudi.common.HoodieCleanStat 
cannot be applied to given types
   ```
   Confirmed this fix resolves it and the module compiles cleanly.
   
   ---
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01DFemyCQKjw9RTX3P3vixY1


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