xiaokang commented on code in PR #13430: URL: https://github.com/apache/doris/pull/13430#discussion_r1012729193
########## fe/fe-core/src/main/java/org/apache/doris/catalog/Index.java: ########## @@ -30,36 +31,55 @@ import java.io.DataOutput; import java.io.IOException; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * Internal representation of index, including index type, name, columns and comments. * This class will used in olaptable */ public class Index implements Writable { + public static final int INDEX_ID_INIT_VALUE = -1; + + @SerializedName(value = "indexId") + private int indexId; Review Comment: set default value to -1 for compatibility -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org