yuqi1129 opened a new pull request, #14686:
URL: https://github.com/apache/gravitino/pull/14686

   ### What changes were proposed in this pull request?
   
   Reject non-HASH distributions before Hive metastore access. Recognize 
canonical and structural NONE representations as unbucketed tables, and clarify 
the documented HASH/NONE behavior.
   
   ### Why are the changes needed?
   
   Hive currently accepts RANGE/EVEN requests and silently stores hash 
bucketing instead. Invalid strategies must not produce a different physical 
layout without an error.
   
   Fixes #14685
   
   ### Does this PR introduce _any_ user-facing change?
   
   Unsupported distribution strategies are rejected as invalid input before 
DDL. HASH bucketing and NONE (zero buckets, no expressions) remain supported.
   
   ### How was this patch tested?
   
   - All 99 non-Docker Hive module tests passed without failures or skips.
   - The new rejection regression fails on the old implementation. Tests verify 
rejection before metastore access and acceptance of HASH/canonical 
NONE/structural NONE/DTO NONE.
   - Module Spotless and git diff --check passed. Fresh-context review found no 
outstanding findings.
   
   The added connector tests mock HiveClient; no new live HMS test or deployed 
REST run is claimed.
   


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