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

   ### What changes were proposed in this pull request?
   
   - Add set data skipping index type to the Index API
   - Support set index in CREATE TABLE, ALTER TABLE, and table loading
   - Refactor index DDL generation into a shared helper
   
   ### Why are the changes needed?
   
   Fix: #11912
   
   The ClickHouse catalog only supports minmax and bloom_filter skip indexes. 
Tables with set indexes load without error but index metadata is silently 
dropped, and explicit creation attempts fail. The set index type has no 
required parameters (unlike ngrambf_v1/tokenbf_v1), making it safe to add 
without a parameter-passing mechanism.
   
   ### Does this PR introduce any user-facing change?
   
   Yes. ClickHouse tables with set data skipping indexes can now be created and 
loaded through Gravitino with index metadata preserved.
   
   ### How was this patch tested?
   
   - `./gradlew :catalogs-contrib:catalog-jdbc-clickhouse:test -PskipITs` — all 
pass
   - New tests cover set index DDL generation for both CREATE TABLE and ALTER 
TABLE paths


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