Hi Yang,
Thanks for your feedback. The enableAutoIncrement() method follows the same pattern as `withComment()` [1] in schema builder. So it converts the previous column into an auto-increment column within the schema builder. [1] https://github.com/apache/fluss/blob/main/fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java#L252 Regards, Cheng ------------------ Original ------------------ From: "dev" <[email protected]>; Date: Fri, Sep 19, 2025 07:54 PM To: "dev"<[email protected]>; Subject: Re: [DISCUSS] FIP-16: auto-increment column Hi Cheng, Thank you for driving this FIP. I think it is a nice and important feature for many real-world business scenarios, and the overall design makes sense to me. I have just one small question: Regarding the client-side API design: ``` Schema.newBuilder() .column("uid", DataTypes.STRING()) .column("uid_int64", DataTypes.BIGINT()) .enableAutoIncrement() .primaryKey("uid") .build(); ``` If there is more than one column with INT or BIGINT type, which one would be the auto-increment column? Best regards, Yang Wang Cheng <[email protected]> ??2025??9??18?????? 22:49?????? > Hi all, > > > Auto-increment column is a bread-and-butter feature for improving data > management efficiency. It is the bedrock of many features in analytical > workloads??such as those in real-time unique visitor (UV) counting scenarios. > > > To implement this capability, I'd like to propose FIP-16: auto-increment > column [1]. > > > Any feedback and suggestions on this proposal are welcome! > > > [1]: > https://cwiki.apache.org/confluence/display/FLUSS/FIP-16%3A+Auto-Increment+Column > > > > > Regards, > Cheng > > > > &nbsp;
