-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1398] feat(table): Add index api for tables. #1399
Conversation
9adb618
to
9614ffd
Compare
I suggest adding some UT for the catalog that supports Index like MySQL catalog. |
api/src/main/java/com/datastrato/gravitino/rel/expressions/Indexes/Index.java
Outdated
Show resolved
Hide resolved
...g-jdbc-common/src/main/java/com/datastrato/gravitino/catalog/jdbc/JdbcCatalogOperations.java
Outdated
Show resolved
Hide resolved
This is just a pull request for the API interface, which will be submitted in another PR |
@jerryshao Can you help me review it? |
@mchades At present, except for the complex index design of hive3.0, it is not considered to be supported in this issue. The current interface can support common systems. Do you have any suggestions? Can you help review it? |
please paste the design document |
api/src/main/java/com/datastrato/gravitino/rel/expressions/Indexes/Index.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/rel/indexes/IndexDTO.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/IcebergCatalogOperations.java
Outdated
Show resolved
Hide resolved
LGTM, except some minor comments |
common/src/main/java/com/datastrato/gravitino/dto/rel/indexes/IndexDTO.java
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/TableCatalog.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/TableCatalog.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/expressions/Indexes/Index.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/expressions/Indexes/Index.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/indexes/Index.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/catalog/CatalogOperationDispatcher.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/indexes/Index.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/rel/indexes/IndexDTO.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/requests/TableCreateRequest.java
Outdated
Show resolved
Hide resolved
517e797
to
137dd1a
Compare
api/src/main/java/com/datastrato/gravitino/rel/indexes/Indexes.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/datastrato/gravitino/dto/rel/indexes/IndexDTO.java
Outdated
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Show resolved
Hide resolved
.../catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveCatalogOperations.java
Outdated
Show resolved
Hide resolved
...g-jdbc-common/src/main/java/com/datastrato/gravitino/catalog/jdbc/JdbcCatalogOperations.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/IcebergCatalogOperations.java
Outdated
Show resolved
Hide resolved
LGTM except some minor comments. |
### What changes were proposed in this pull request? Provide the Index interface implementation of the Table to the user side ### Why are the changes needed? Fix: apache#1398 ### Does this PR introduce _any_ user-facing change? Add table index impl. ### How was this patch tested? NO --------- Co-authored-by: Clearvive <[email protected]>
What changes were proposed in this pull request?
Provide the Index interface implementation of the Table to the user side
Why are the changes needed?
Fix: #1398
Does this PR introduce any user-facing change?
Add table index impl.
How was this patch tested?
NO