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


##########
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4:
##########
@@ -1727,9 +1726,9 @@ complexColType
     ;
 
 variantTypeDefinitions
-    : VARIANT LT variantSubColTypeList COMMA properties=propertyClause GT  
#variantWithFieldsAndProps
-    | VARIANT LT variantSubColTypeList GT                                  
#variantWithOnlyFields
-    | VARIANT LT properties=propertyClause GT                              
#variantWithOnlyProps
+    : VARIANT (LT variantSubColTypeList COMMA properties=propertyClause GT)?  
#variantWithFieldsAndProps
+    | VARIANT (LT variantSubColTypeList GT)?                                  
#variantWithOnlyFields
+    | VARIANT (LT properties=propertyClause GT)?                              
#variantWithOnlyProps

Review Comment:
   add variant



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