yangzhg commented on a change in pull request #4256: URL: https://github.com/apache/incubator-doris/pull/4256#discussion_r478808980
########## File path: fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java ########## @@ -796,6 +801,43 @@ public void setBloomFilterInfo(Set<String> bfColumns, double bfFpp) { this.bfFpp = bfFpp; } + public void setSequenceInfo(Type type) { + this.hasSequenceCol = true; + this.sequenceType = type; + + // sequence column is value column with MAX aggregate type + // this makes it easy to compare and update the sequence column + Column sequenceCol = new Column(Column.SEQUENCE_COL, type, false, AggregateType.MAX, false, null, "", false); Review comment: add AggregateType.MAX to unique 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. 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