This is an automated email from the ASF dual-hosted git repository.
kxiao 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 90036ee1ace [Fix](Variant) forbit table with variant type doing
segment compaction temporarily (#33001)
90036ee1ace is described below
commit 90036ee1acedbc4cb579511a1b0b06885110dcb8
Author: lihangyu <[email protected]>
AuthorDate: Fri Mar 29 12:40:51 2024 +0800
[Fix](Variant) forbit table with variant type doing segment compaction
temporarily (#33001)
---
be/src/olap/rowset/beta_rowset_writer.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/be/src/olap/rowset/beta_rowset_writer.cpp
b/be/src/olap/rowset/beta_rowset_writer.cpp
index 337c635594a..626a7c84ce0 100644
--- a/be/src/olap/rowset/beta_rowset_writer.cpp
+++ b/be/src/olap/rowset/beta_rowset_writer.cpp
@@ -508,7 +508,8 @@ Status BetaRowsetWriter::_segcompaction_if_necessary() {
// otherwise _segcompacting_cond will never get notified
if (!config::enable_segcompaction || !_context.enable_segcompaction ||
!_context.tablet_schema->cluster_key_idxes().empty() ||
- !_check_and_set_is_doing_segcompaction()) {
+ !_check_and_set_is_doing_segcompaction() ||
+ _context.tablet_schema->num_variant_columns() > 0) {
return status;
}
if (_segcompaction_status.load() != OK) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]