aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorssmike <ssmike@ydb.tech>2023-08-05 22:31:04 +0300
committerssmike <ssmike@ydb.tech>2023-08-05 22:54:44 +0300
commit932f5ad59355f7ec6e9dc9650d92b72fbb1700b4 (patch)
treed24885b02d4195f22175b4df1d7e7482b90de5e7
parent7419afaea7242cb8b8b8e7b5fbb2e9d2d901d4fd (diff)
downloadydb-932f5ad59355f7ec6e9dc9650d92b72fbb1700b4.tar.gz
reenable test for iterator reads
-rw-r--r--ydb/core/kqp/ut/indexes/kqp_indexes_ut.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/ydb/core/kqp/ut/indexes/kqp_indexes_ut.cpp b/ydb/core/kqp/ut/indexes/kqp_indexes_ut.cpp
index a556a1fcf7..80dfbd3d1c 100644
--- a/ydb/core/kqp/ut/indexes/kqp_indexes_ut.cpp
+++ b/ydb/core/kqp/ut/indexes/kqp_indexes_ut.cpp
@@ -1603,13 +1603,10 @@ Y_UNIT_TEST_SUITE(KqpIndexes) {
}
}
- Y_UNIT_TEST_TWIN(SecondaryIndexOrderBy2, SourceRead) {
+ Y_UNIT_TEST(SecondaryIndexOrderBy2) {
auto setting = NKikimrKqp::TKqpSetting();
- NKikimrConfig::TAppConfig appConfig;
- appConfig.MutableTableServiceConfig()->SetEnableKqpDataQuerySourceRead(SourceRead);
auto serverSettings = TKikimrSettings()
- .SetKqpSettings({setting})
- .SetAppConfig(appConfig);
+ .SetKqpSettings({setting});
TKikimrRunner kikimr(serverSettings);
auto db = kikimr.GetTableClient();
auto session = db.CreateSession().GetValueSync().GetSession();
@@ -1709,7 +1706,7 @@ Y_UNIT_TEST_SUITE(KqpIndexes) {
UNIT_ASSERT_VALUES_EQUAL_C(result.GetStatus(), EStatus::SUCCESS, result.GetIssues().ToString().c_str());
- UNIT_ASSERT_C(result.GetAst().Contains("'('\"ItemsLimit") || SourceRead, result.GetAst());
+ UNIT_ASSERT_C(result.GetAst().Contains("'('\"ItemsLimit"), result.GetAst());
UNIT_ASSERT_C(result.GetAst().Contains("'('\"Reverse\")"), result.GetAst());
}
@@ -1756,7 +1753,7 @@ Y_UNIT_TEST_SUITE(KqpIndexes) {
.ExtractValueSync();
UNIT_ASSERT_VALUES_EQUAL_C(result.GetStatus(), EStatus::SUCCESS, result.GetIssues().ToString().c_str());
- UNIT_ASSERT_C(result.GetAst().Contains("'('\"ItemsLimit") || SourceRead, result.GetAst());
+ UNIT_ASSERT_C(result.GetAst().Contains("'('\"ItemsLimit"), result.GetAst());
UNIT_ASSERT_C(result.GetAst().Contains("'('\"Reverse\")"), result.GetAst());
}