eldenmoon commented on code in PR #43599:
URL: https://github.com/apache/doris/pull/43599#discussion_r1837440693


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/info/IndexDefinition.java:
##########
@@ -106,6 +106,12 @@ public void checkColumn(ColumnDefinition column, KeysType 
keysType,
                 throw new AnalysisException(colType + " is not supported in " 
+ indexType.toString()
                         + " index. " + "invalid index: " + name);
             }
+
+            // In inverted index format v1, each subcolumn of a variant has 
its own index file, leading to high IOPS.
+            // when the subcolumn type changes, it may result in missing 
files, causing link file failure.
+            if (colType.isVariantType() && isIndexFormatV1) {
+                throw new AnalysisException(colType + " is not supported in 
inverted index format V1");

Review Comment:
   提示引导用户用V2或者更高版本



-- 
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

Reply via email to