diqiu50 opened a new pull request, #14067: URL: https://github.com/apache/gravitino/pull/14067
### What changes were proposed in this pull request? Map StarRocks `SHOW INDEX` `Index_type` to Gravitino index types when loading a table: BITMAP to `BITMAP`, GIN to `INVERTED`, VECTOR to `VECTOR`. Indexes without a Gravitino equivalent (e.g. NGRAMBF) are skipped. Update the StarRocks catalog docs accordingly. ### Why are the changes needed? Every index returned by StarRocks `SHOW INDEX` (BITMAP, NGRAMBF, GIN, ...) was reported as a `PRIMARY_KEY` index, so readers saw primary keys that the table does not have, while the table's real keys are not returned by `SHOW INDEX` at all. Fix: #14066 ### Does this PR introduce _any_ user-facing change? Yes. Loaded StarRocks tables report BITMAP, GIN and VECTOR indexes with their real types, and no longer report NGRAMBF indexes as primary keys. ### How was this patch tested? Added a unit test in `TestStarRocksTableOperationsSqlGeneration`, and verified BITMAP, GIN and NGRAMBF against StarRocks 3.3 manually. -- 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]
