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


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/types/VariantType.java:
##########
@@ -221,7 +235,10 @@ public boolean equals(Object o) {
                     && this.enableTypedPathsToSparse == 
other.enableTypedPathsToSparse
                     && this.enableVariantDocMode == other.enableVariantDocMode
                     && this.variantDocMaterializationMinRows == 
other.variantDocMaterializationMinRows
-                    && Objects.equals(predefinedFields, 
other.predefinedFields);
+                    && Objects.equals(predefinedFields, other.predefinedFields)
+                    // the serialize type only changes what a max subcolumns 
count of 0 means
+                    && (variantMaxSubcolumnsCount != 0 || enableNestedGroup
+                            || this.variantSerializeType == 
other.variantSerializeType);

Review Comment:
   ok



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