This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 4b56e1a736 [fix](ut) fix TestRowIdConversion fail in branch-1.2
(#16921)
4b56e1a736 is described below
commit 4b56e1a7361b59a1b6fc95eea48d52f36121dbcb
Author: Xin Liao <[email protected]>
AuthorDate: Mon Feb 20 12:31:02 2023 +0800
[fix](ut) fix TestRowIdConversion fail in branch-1.2 (#16921)
---
be/test/olap/rowid_conversion_test.cpp | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/be/test/olap/rowid_conversion_test.cpp
b/be/test/olap/rowid_conversion_test.cpp
index 2de735dd5d..3dff4a812a 100644
--- a/be/test/olap/rowid_conversion_test.cpp
+++ b/be/test/olap/rowid_conversion_test.cpp
@@ -366,10 +366,6 @@ protected:
TabletSharedPtr tablet =
create_tablet(*tablet_schema, enable_unique_key_merge_on_write,
output_rs_writer->version().first - 1,
has_delete_handler);
- if (enable_unique_key_merge_on_write) {
-
tablet->tablet_meta()->delete_bitmap().add({input_rowsets[0]->rowset_id(), 0,
0}, 0);
-
tablet->tablet_meta()->delete_bitmap().add({input_rowsets[0]->rowset_id(), 0,
0}, 3);
- }
// create input rowset reader
vector<RowsetReaderSharedPtr> input_rs_readers;
@@ -429,11 +425,6 @@ protected:
RowLocation src(input_rowsets[rs_id]->rowset_id(), s_id,
row_id);
RowLocation dst;
int res = rowid_conversion.get(src, &dst);
- // key deleted by delete bitmap
- if (enable_unique_key_merge_on_write && rs_id == 0 && s_id
== 0 &&
- (row_id == 0 || row_id == 3)) {
- EXPECT_LT(res, 0);
- }
if (res < 0) {
continue;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]