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


##########
be/src/core/data_type/data_type_variant.h:
##########
@@ -81,9 +86,22 @@ class DataTypeVariant : public IDataType {
         node->set_type(TTypeNodeType::VARIANT);
         node->set_variant_max_subcolumns_count(_max_subcolumns_count);
         node->set_variant_enable_doc_mode(_enable_doc_mode);
+        node->set_variant_is_v2(is_variant_v2());
     }
     void to_pb_column_meta(PColumnMeta* col_meta) const override;
     int32_t variant_max_subcolumns_count() const { return 
_max_subcolumns_count; }
     bool enable_doc_mode() const { return _enable_doc_mode; }
 };
+
+class DataTypeVariantV2 final : public DataTypeVariant {

Review Comment:
   拆单独文件



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