This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git


The following commit(s) were added to refs/heads/main by this push:
     new 813e7ae4c [server] Update ApiKey: ALTER_TABLE_PROPERTIES to 
ALTER_TABLE (#1779)
813e7ae4c is described below

commit 813e7ae4c71016e94a3c52cc9e8ba7c0c9f9bf4a
Author: Jark Wu <[email protected]>
AuthorDate: Mon Oct 6 15:17:01 2025 +0800

    [server] Update ApiKey: ALTER_TABLE_PROPERTIES to ALTER_TABLE (#1779)
---
 fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java | 2 +-
 fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java 
b/fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java
index 3e2c08f94..dadb0611f 100644
--- a/fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java
+++ b/fluss-rpc/src/main/java/org/apache/fluss/rpc/gateway/AdminGateway.java
@@ -71,7 +71,7 @@ public interface AdminGateway extends AdminReadOnlyGateway {
      *
      * @param request the request to alter a table.
      */
-    @RPC(api = ApiKeys.ALTER_TABLE_PROPERTIES)
+    @RPC(api = ApiKeys.ALTER_TABLE)
     CompletableFuture<AlterTableResponse> alterTable(AlterTableRequest 
request);
 
     /**
diff --git a/fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java 
b/fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java
index 811d5bf8a..4b954c5e6 100644
--- a/fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java
+++ b/fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiKeys.java
@@ -72,7 +72,7 @@ public enum ApiKeys {
     DROP_ACLS(1041, 0, 0, PUBLIC),
     LAKE_TIERING_HEARTBEAT(1042, 0, 0, PRIVATE),
     CONTROLLED_SHUTDOWN(1043, 0, 0, PRIVATE),
-    ALTER_TABLE_PROPERTIES(1044, 0, 0, PUBLIC);
+    ALTER_TABLE(1044, 0, 0, PUBLIC);
 
     private static final Map<Integer, ApiKeys> ID_TO_TYPE =
             Arrays.stream(ApiKeys.values())

Reply via email to