[Fix](segment write) handle variant bloom filter in segment writer (#32011)
This commit is contained in:
@ -218,6 +218,9 @@ Status SegmentWriter::init(const std::vector<uint32_t>& col_ids, bool has_key) {
|
||||
(column.is_extracted_column() && column.is_array_type())) {
|
||||
// variant and jsonb type skip write index
|
||||
opts.indexes.clear();
|
||||
opts.need_zone_map = false;
|
||||
opts.need_bloom_filter = false;
|
||||
opts.need_bitmap_index = false;
|
||||
}
|
||||
for (auto index : opts.indexes) {
|
||||
if (!skip_inverted_index && index && index->index_type() == IndexType::INVERTED) {
|
||||
@ -242,7 +245,6 @@ Status SegmentWriter::init(const std::vector<uint32_t>& col_ids, bool has_key) {
|
||||
CHECK_FIELD_TYPE(JSONB, "jsonb")
|
||||
CHECK_FIELD_TYPE(AGG_STATE, "agg_state")
|
||||
CHECK_FIELD_TYPE(MAP, "map")
|
||||
CHECK_FIELD_TYPE(VARIANT, "variant")
|
||||
CHECK_FIELD_TYPE(OBJECT, "object")
|
||||
CHECK_FIELD_TYPE(HLL, "hll")
|
||||
CHECK_FIELD_TYPE(QUANTILE_STATE, "quantile_state")
|
||||
|
||||
Reference in New Issue
Block a user