Skip to content

Commit

Permalink
fix 8
Browse files Browse the repository at this point in the history
  • Loading branch information
eldenmoon committed Dec 23, 2024
1 parent 4028360 commit 78f9141
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 211 deletions.
3 changes: 2 additions & 1 deletion be/src/olap/rowset/segment_v2/column_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ Status VariantColumnReader::new_iterator(ColumnIterator** iterator,
target_col.has_path_info() ? _subcolumn_readers->find_exact(relative_path) : nullptr;

if (node != nullptr) {
if (node->is_leaf_node()) {
// relative_path means the root node, should always use HierarchicalDataReader
if (node->is_leaf_node() && !relative_path.empty()) {
// Node contains column without any child sub columns and no corresponding sparse columns
// Direct read extracted columns
const auto* node = _subcolumn_readers->find_leaf(relative_path);
Expand Down
Loading

0 comments on commit 78f9141

Please sign in to comment.