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


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -310,7 +310,7 @@ void update_least_common_schema(const 
std::vector<TabletSchemaSPtr>& schemas,
         TabletColumn common_column;
         // const std::string& column_name = variant_col_name + "." + 
tuple_paths[i].get_path();
         get_column_by_type(tuple_types[i], tuple_paths[i].get_path(), 
common_column,
-                           ExtraInfo {.unique_id = variant_col_unique_id,
+                           ExtraInfo {.unique_id = -1,
                                       .parent_unique_id = 
variant_col_unique_id,
                                       .path_info = tuple_paths[i]});
         common_schema->append_column(common_column);

Review Comment:
   "TabletSchema::ColumnType::VARIANT" means that the appended column is 
managed using the "_field_path_to_index."



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