xiaokang commented on code in PR #13430: URL: https://github.com/apache/doris/pull/13430#discussion_r1015131165
########## fe/fe-core/src/main/java/org/apache/doris/analysis/IndexDef.java: ########## @@ -126,29 +153,37 @@ public boolean isSetIfNotExists() { public enum IndexType { BITMAP, + INVERTED, + } + public boolean isInvertedIndex() { + return (this.indexType == IndexType.INVERTED); } public void checkColumn(Column column, KeysType keysType) throws AnalysisException { - if (indexType == IndexType.BITMAP) { + if (indexType == IndexType.BITMAP || indexType == IndexType.INVERTED) { Review Comment: added -- 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