csun5285 commented on code in PR #69812:
URL: https://github.com/apache/doris/pull/69812#discussion_r4410386707


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:
##########
@@ -3086,8 +3087,13 @@ private boolean createOlapTable(Database db, 
CreateTableInfo createTableInfo) th
                 for (Column column : baseSchema) {
                     if (column.isAutoInc()) {
                         throw new AnalysisException("auto-inc column can't be 
created on table with changelog");
-                    } else if (column.getDataType().isVariantType()) {
-                        throw new AnalysisException("variant column can't be 
created on table with changelog");
+                    } else if (column.getType().isVariantType() && 
column.getVariantEnableNestedGroup()) {
+                        throw new AnalysisException(
+                                "variant column with nested group can't be 
created on table with changelog");
+                    } else if (column.getType().isVariantType()

Review Comment:
   ok, i will change this check



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to