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


##########
be/src/vec/common/schema_util.cpp:
##########
@@ -379,10 +379,17 @@ void inherit_tablet_index(TabletSchemaSPtr& schema) {
     }
 
     // Add index meta if extracted column is missing index meta
-    for (const auto& col : schema->columns()) {
+    for (auto& col : schema->mutable_columns()) {
         if (!col.is_extracted_column()) {
             continue;
         }
+        if (col.type() != FieldType::OLAP_FIELD_TYPE_TINYINT &&
+            col.type() != FieldType::OLAP_FIELD_TYPE_ARRAY &&
+            col.type() != FieldType::OLAP_FIELD_TYPE_DOUBLE &&
+            col.type() != FieldType::OLAP_FIELD_TYPE_FLOAT) {
+            // above types are not supported in bf
+            
col.set_is_bf_column(schema->column(col.parent_unique_id()).is_bf_column());

Review Comment:
   yes



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to