csun5285 commented on code in PR #47541:
URL: https://github.com/apache/doris/pull/47541#discussion_r1952118429
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/types/VariantType.java:
##########
@@ -31,13 +32,25 @@
@Developing
public class VariantType extends PrimitiveType {
- public static final VariantType INSTANCE = new VariantType();
+ public static final VariantType INSTANCE = new VariantType(0);
public static final int WIDTH = 24;
+ private int variantMaxSubcolumnsCount = 0;
+
+ // public static createVariantType(int variantMaxSubcolumnsCount) {
+ // return new VariantType(variantMaxSubcolumnsCount);
+ // }
+
+ public VariantType(int variantMaxSubcolumnsCount) {
Review Comment:
public VariantType() {}
--
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]