apache / hudi-rs

A native Rust library for Apache Hudi, with bindings into Python
https://hudi.apache.org/
Apache License 2.0
142 stars 28 forks source link

fix: handle validating table when `DropsPartitionFields` not present #142

Closed xushiyan closed 1 month ago

xushiyan commented 1 month ago

Description

Some tables may not have hoodie.datasource.write.drop.partition.columns, the table validation should treat it as false by default.

How are the changes test-covered

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.82%. Comparing base (c16f79a) to head (f17a079). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #142 +/- ## ========================================== + Coverage 87.79% 87.82% +0.03% ========================================== Files 14 14 Lines 729 731 +2 ========================================== + Hits 640 642 +2 Misses 89 89 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.