This is an automated email from the ASF dual-hosted git repository.
eldenmoon pushed a commit to branch variant-sparse
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/variant-sparse by this push:
new 5f9eae7bbb0 fix reader (#46042)
5f9eae7bbb0 is described below
commit 5f9eae7bbb001d3a5e27ddbea798703b60720faa
Author: lihangyu <[email protected]>
AuthorDate: Thu Dec 26 19:38:57 2024 +0800
fix reader (#46042)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
be/src/olap/rowset/segment_v2/column_reader.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/rowset/segment_v2/column_reader.cpp
b/be/src/olap/rowset/segment_v2/column_reader.cpp
index 1996dc8fbd3..c3c41d968ae 100644
--- a/be/src/olap/rowset/segment_v2/column_reader.cpp
+++ b/be/src/olap/rowset/segment_v2/column_reader.cpp
@@ -289,8 +289,8 @@ Status VariantColumnReader::new_iterator(ColumnIterator**
iterator,
// Check if path exist in sparse column
bool existed_in_sparse_column =
_statistics &&
-
_statistics->subcolumns_non_null_size.find(relative_path.get_path()) !=
- _statistics->subcolumns_non_null_size.end();
+
_statistics->sparse_column_non_null_size.find(relative_path.get_path()) !=
+ _statistics->sparse_column_non_null_size.end();
if (existed_in_sparse_column) {
// Sparse column exists or reached sparse size limit, read sparse
column
ColumnIterator* inner_iter;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]