Skip to content

Commit

Permalink
undo extra changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zverevgeny committed Jan 26, 2025
1 parent 3b7f602 commit 8ee1254
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
9 changes: 3 additions & 6 deletions ydb/core/kqp/ut/olap/statistics_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ Y_UNIT_TEST_SUITE(KqpOlapStatistics) {
Y_UNIT_TEST(StatsUsage) {
auto csController = NYDBTest::TControllers::RegisterCSControllerGuard<NYDBTest::NColumnShard::TController>();
{
auto settings = TKikimrSettings()
.SetWithSampleTables(false);
auto settings = TKikimrSettings().SetWithSampleTables(false);
TKikimrRunner kikimr(settings);
Tests::NCommon::TLoggerInit(kikimr).Initialize();
TTypedLocalHelper helper("Utf8", kikimr);
Expand Down Expand Up @@ -50,8 +49,7 @@ Y_UNIT_TEST_SUITE(KqpOlapStatistics) {
Y_UNIT_TEST(StatsUsageNotPK) {
auto csController = NYDBTest::TControllers::RegisterCSControllerGuard<NYDBTest::NColumnShard::TController>();
{
auto settings = TKikimrSettings()
.SetWithSampleTables(false);
auto settings = TKikimrSettings().SetWithSampleTables(false);
TKikimrRunner kikimr(settings);
Tests::NCommon::TLoggerInit(kikimr).Initialize();
TTypedLocalHelper helper("Utf8", kikimr);
Expand Down Expand Up @@ -89,8 +87,7 @@ Y_UNIT_TEST_SUITE(KqpOlapStatistics) {
Y_UNIT_TEST(StatsUsageWithTTL) {
auto csController = NYDBTest::TControllers::RegisterCSControllerGuard<NYDBTest::NColumnShard::TController>();
{
auto settings = TKikimrSettings()
.SetWithSampleTables(false);
auto settings = TKikimrSettings().SetWithSampleTables(false);
TKikimrRunner kikimr(settings);
Tests::NCommon::TLoggerInit(kikimr).Initialize();
TTypedLocalHelper helper("Utf8", kikimr);
Expand Down
13 changes: 6 additions & 7 deletions ydb/core/kqp/ut/scheme/kqp_scheme_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9486,8 +9486,8 @@ Y_UNIT_TEST_SUITE(KqpOlapScheme) {
}
*/
Y_UNIT_TEST(AddColumnWithStore) {
auto runnerSettings = TKikimrSettings()
.SetWithSampleTables(false);
TKikimrSettings runnerSettings;
runnerSettings.WithSampleTables = false;
TTestHelper testHelper(runnerSettings);

TVector<TTestHelper::TColumnSchema> schema = {
Expand Down Expand Up @@ -9550,8 +9550,8 @@ Y_UNIT_TEST_SUITE(KqpOlapScheme) {
}

Y_UNIT_TEST(AddPgColumnWithStore) {
auto runnerSettings = TKikimrSettings()
.SetWithSampleTables(false);
TKikimrSettings runnerSettings;
runnerSettings.WithSampleTables = false;
TTestHelper testHelper(runnerSettings);

TVector<TTestHelper::TColumnSchema> schema = {
Expand Down Expand Up @@ -9958,9 +9958,8 @@ Y_UNIT_TEST_SUITE(KqpOlapScheme) {
}

Y_UNIT_TEST(DropColumnTableStoreErrors) {
auto runnerSettings = TKikimrSettings()
//.SetColumnShardAlterObjectEnabled(true)
.SetWithSampleTables(false);
TKikimrSettings runnerSettings;
runnerSettings.WithSampleTables = false;
TTestHelper testHelper(runnerSettings);

TVector<TTestHelper::TColumnSchema> schema = {
Expand Down

0 comments on commit 8ee1254

Please sign in to comment.