loserwang1024 commented on code in PR #2010:
URL: https://github.com/apache/fluss/pull/2010#discussion_r2567528494
##########
fluss-server/src/main/java/org/apache/fluss/server/zk/ZooKeeperClient.java:
##########
@@ -810,16 +810,18 @@ public void registerPartitionAssignmentAndMetadata(
/** Register schema to ZK metadata and return the schema id. */
public int registerSchema(TablePath tablePath, Schema schema) throws
Exception {
- int currentSchemaId = getCurrentSchemaId(tablePath);
+ return registerSchema(tablePath, schema, getCurrentSchemaId(tablePath)
+ 1);
Review Comment:
<img width="1259" height="389" alt="image"
src="https://github.com/user-attachments/assets/7f93383f-252a-4244-bbb3-57b3a9b9e434"
/>
sometime schema will be recreated when create table.
--
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]