Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JinheLin committed Dec 16, 2022
1 parent 63a6e7c commit 10bf844
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,10 +478,10 @@ try
while (in->read()) {};
in->readSuffix();

ASSERT_EQ(scan_context->total_dmfile_scanned_packs, 7*2);
ASSERT_EQ(scan_context->total_dmfile_scanned_rows, 50000*2);
ASSERT_EQ(scan_context->total_dmfile_skipped_packs, 0*2);
ASSERT_EQ(scan_context->total_dmfile_skipped_rows, 0*2);
ASSERT_EQ(scan_context->total_dmfile_scanned_packs, 7 * 2);
ASSERT_EQ(scan_context->total_dmfile_scanned_rows, 50000 * 2);
ASSERT_EQ(scan_context->total_dmfile_skipped_packs, 0 * 2);
ASSERT_EQ(scan_context->total_dmfile_skipped_rows, 0 * 2);

auto filter = createGreater(Attr{col_a_define.name, col_a_define.id, DataTypeFactory::instance().get("Int64")}, Field(static_cast<Int64>(10000)), 0);
scan_context = std::make_shared<ScanContext>();
Expand All @@ -504,10 +504,10 @@ try
while (in->read()) {};
in->readSuffix();

ASSERT_EQ(scan_context->total_dmfile_scanned_packs, 6*2);
ASSERT_EQ(scan_context->total_dmfile_scanned_rows, 41808*2);
ASSERT_EQ(scan_context->total_dmfile_skipped_packs, 1*2);
ASSERT_EQ(scan_context->total_dmfile_skipped_rows, 8192*2);
ASSERT_EQ(scan_context->total_dmfile_scanned_packs, 6 * 2);
ASSERT_EQ(scan_context->total_dmfile_scanned_rows, 41808 * 2);
ASSERT_EQ(scan_context->total_dmfile_skipped_packs, 1 * 2);
ASSERT_EQ(scan_context->total_dmfile_skipped_rows, 8192 * 2);
}
CATCH

Expand Down

0 comments on commit 10bf844

Please sign in to comment.