This is an automated email from the ASF dual-hosted git repository.
jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7b2fdd26a1 [schema change](fix) fix coredump of schema change (#13183)
7b2fdd26a1 is described below
commit 7b2fdd26a19e90fb29cd02c56679dcf5a73ed2ed
Author: TengJianPing <[email protected]>
AuthorDate: Sun Oct 9 19:44:00 2022 +0800
[schema change](fix) fix coredump of schema change (#13183)
When schema change and compaction is executing simutaneously, both
nullable and not nullable data can be read for the same column, need to
reset _nullmap for each Block when converting Block data, or else Column
case will be wrong.
---
be/src/vec/olap/olap_data_convertor.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/vec/olap/olap_data_convertor.cpp
b/be/src/vec/olap/olap_data_convertor.cpp
index 58ab5d6579..33598c4e98 100644
--- a/be/src/vec/olap/olap_data_convertor.cpp
+++ b/be/src/vec/olap/olap_data_convertor.cpp
@@ -160,6 +160,7 @@ void
OlapBlockDataConvertor::OlapColumnDataConvertorBase::set_source_column(
void
OlapBlockDataConvertor::OlapColumnDataConvertorBase::clear_source_column() {
// just to reduce the source column's ref count to 1
_typed_column.column = nullptr;
+ _nullmap = nullptr;
}
// This should be called only in SegmentWriter. If you want to access nullmap
in Convertor,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]