Skip to content

Commit e30d3c5

Browse files
committed
[test](be) Qualify rowset EOF error code
### What problem does this PR solve? Issue Number: close apache#65418 Related PR: apache#65076 Problem Summary: The partial row-binlog readback test referenced END_OF_FILE without its ErrorCode namespace, causing BE UT compilation to fail before tests ran. Qualify the status code so the test compiles without importing the entire namespace. ### Release note None ### Check List (For Author) - Test: Manual test - build-support/check-format.sh - git diff --check - BE UT not run locally per request; validation delegated to CI - Behavior changed: No - Does this need documentation: No
1 parent 3547e89 commit e30d3c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎be/test/olap/rowset/group_rowset_writer_test.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ TEST_F(GroupRowsetWriterTest, partialUpdateSkipsHiddenNonKeyColumns) {
341341

342342
Block eof_block = row_binlog_schema->create_block();
343343
status = rowset_reader->next_batch(&eof_block);
344-
EXPECT_TRUE(status.is<END_OF_FILE>()) << status;
344+
EXPECT_TRUE(status.is<ErrorCode::END_OF_FILE>()) << status;
345345
}
346346

347347
} // namespace doris

0 commit comments

Comments
 (0)