Skip to content

Commit

Permalink
Merge ccbb2f8 into 62f8e34
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Jan 28, 2024
2 parents 62f8e34 + ccbb2f8 commit 04b0501
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ydb/core/kqp/ut/olap/kqp_olap_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1327,8 +1327,7 @@ Y_UNIT_TEST_SUITE(KqpOlap) {
Cout << csController->GetIndexesSkippingOnSelect().Val() << " / " << csController->GetIndexesApprovedOnSelect().Val() << Endl;
CompareYson(result, R"([[0u;]])");
AFL_VERIFY(csController->GetIndexesSkippedNoData().Val() == 0);
AFL_VERIFY(csController->GetIndexesSkippingOnSelect().Val() == 17);
AFL_VERIFY(csController->GetIndexesApprovedOnSelect().Val() == 4);
AFL_VERIFY(csController->GetIndexesApprovedOnSelect().Val() < csController->GetIndexesSkippingOnSelect().Val() * 0.3);
}
ui32 requestsCount = 100;
for (ui32 i = 0; i < requestsCount; ++i) {
Expand All @@ -1353,7 +1352,7 @@ Y_UNIT_TEST_SUITE(KqpOlap) {
CompareYson(result, R"([[1u;]])");
}

AFL_VERIFY(csController->GetIndexesApprovedOnSelect().Val() / csController->GetIndexesSkippingOnSelect().Val() < 0.15);
AFL_VERIFY(csController->GetIndexesApprovedOnSelect().Val() < 0.15 * csController->GetIndexesSkippingOnSelect().Val());

}

Expand Down

0 comments on commit 04b0501

Please sign in to comment.