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


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/CreateTableCommand.java:
##########
@@ -181,6 +183,9 @@ public void validateCreateTableAsSelect(ConnectContext ctx, 
LogicalPlan query) {
         for (int i = 0; i < slots.size(); i++) {
             Slot s = slots.get(i);
             DataType dataType = s.getDataType().conversion();
+            if (dataType instanceof VariantType) {
+                dataType = ((VariantType) dataType).withoutPredefinedFields();

Review Comment:
   This is expected



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