-
Notifications
You must be signed in to change notification settings - Fork 383
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
[#1759] feat(TableChange) : TableChange support index. #2359
Conversation
08b2394
to
b2592af
Compare
023b8fd
to
b6d4049
Compare
...in/java/com/datastrato/gravitino/catalog/postgresql/operation/PostgreSqlTableOperations.java
Show resolved
Hide resolved
...sql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlTableOperations.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/TableChange.java
Outdated
Show resolved
Hide resolved
...sql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlTableOperations.java
Outdated
Show resolved
Hide resolved
...sql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlTableOperations.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/datastrato/gravitino/rel/TableChange.java
Outdated
Show resolved
Hide resolved
...sql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlTableOperations.java
Show resolved
Hide resolved
@Clearvive, does this pull request support |
This PR does not support AlterIndex. Currently, not all metadata supports modifying index information. Users can perform operations by first deleting and then creating anew. I will now modify the description of this issue accordingly. |
416de74
to
4094332
Compare
b59eda9
to
c38bca0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with the current changes.
server/src/test/java/com/datastrato/gravitino/server/web/rest/TestTableOperations.java
Outdated
Show resolved
Hide resolved
LGTM except the minor comments |
What changes were proposed in this pull request?
TableChange support index.
The current PR does not support the extension of
AlterIndex
.Currently, only
AddIndex
andDeleteIndex
are supported.Why are the changes needed?
Fix: #1759
Does this PR introduce any user-facing change?
Add Index TableChange
How was this patch tested?
IT,UT