Skip to content

Commit 813e7ae

Browse files
authored
[server] Update ApiKey: ALTER_TABLE_PROPERTIES to ALTER_TABLE (#1779)
1 parent 7452a52 commit 813e7ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public interface AdminGateway extends AdminReadOnlyGateway {
7171
*
7272
* @param request the request to alter a table.
7373
*/
74-
@RPC(api = ApiKeys.ALTER_TABLE_PROPERTIES)
74+
@RPC(api = ApiKeys.ALTER_TABLE)
7575
CompletableFuture<AlterTableResponse> alterTable(AlterTableRequest request);
7676

7777
/**

fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public enum ApiKeys {
7272
DROP_ACLS(1041, 0, 0, PUBLIC),
7373
LAKE_TIERING_HEARTBEAT(1042, 0, 0, PRIVATE),
7474
CONTROLLED_SHUTDOWN(1043, 0, 0, PRIVATE),
75-
ALTER_TABLE_PROPERTIES(1044, 0, 0, PUBLIC);
75+
ALTER_TABLE(1044, 0, 0, PUBLIC);
7676

7777
private static final Map<Integer, ApiKeys> ID_TO_TYPE =
7878
Arrays.stream(ApiKeys.values())

0 commit comments

Comments
 (0)