diff --git a/ydb/core/kqp/ut/olap/indexes_ut.cpp b/ydb/core/kqp/ut/olap/indexes_ut.cpp index 482f15e9bd12..e3a5310238d7 100644 --- a/ydb/core/kqp/ut/olap/indexes_ut.cpp +++ b/ydb/core/kqp/ut/olap/indexes_ut.cpp @@ -367,12 +367,9 @@ Y_UNIT_TEST_SUITE(KqpOlapIndexes) { UNIT_ASSERT_VALUES_EQUAL_C(alterResult.GetStatus(), NYdb::EStatus::SUCCESS, alterResult.GetIssues().ToString()); } { - auto alterQuery = - TStringBuilder() << Sprintf( - R"(ALTER OBJECT `/Root/olapStore` (TYPE TABLESTORE) SET (ACTION=UPSERT_INDEX, NAME=index_ngramm_uid, TYPE=BLOOM_NGRAMM_FILTER, + auto alterQuery = R"(ALTER OBJECT `/Root/olapStore` (TYPE TABLESTORE) SET (ACTION=UPSERT_INDEX, NAME=index_ngramm_uid, TYPE=BLOOM_NGRAMM_FILTER, FEATURES=`{"column_name" : "resource_id", "ngramm_size" : 3, "hashes_count" : 2, "filter_size_bytes" : 512, "records_count" : 1024}`); - )", - StorageId.data()); + )"; auto session = tableClient.CreateSession().GetValueSync().GetSession(); auto alterResult = session.ExecuteSchemeQuery(alterQuery).GetValueSync(); UNIT_ASSERT_VALUES_EQUAL_C(alterResult.GetStatus(), NYdb::EStatus::SUCCESS, alterResult.GetIssues().ToString()); @@ -488,7 +485,7 @@ Y_UNIT_TEST_SUITE(KqpOlapIndexes) { ui32 requestsCount = 300; for (ui32 i = 0; i < requestsCount; ++i) { const ui32 idx = RandomNumber(uids.size()); - const auto query = [](const TString& res, const TString& uid, const ui32 level) { + const auto query = [](const TString& res, const TString& /* uid */, const ui32 /* level */) { TStringBuilder sb; sb << "SELECT COUNT(*) FROM `/Root/olapStore/olapTable`" << Endl; sb << "WHERE" << Endl; @@ -505,7 +502,7 @@ Y_UNIT_TEST_SUITE(KqpOlapIndexes) { ui32 requestsCount = 300; for (ui32 i = 0; i < requestsCount; ++i) { const ui32 idx = RandomNumber(uids.size()); - const auto query = [](const TString& res, const TString& uid, const ui32 level) { + const auto query = [](const TString& res, const TString& /* uid */, const ui32 /* level */) { TStringBuilder sb; sb << "SELECT COUNT(*) FROM `/Root/olapStore/olapTable`" << Endl; sb << "WHERE" << Endl; @@ -523,7 +520,7 @@ Y_UNIT_TEST_SUITE(KqpOlapIndexes) { ui32 requestsCount = 300; for (ui32 i = 0; i < requestsCount; ++i) { const ui32 idx = RandomNumber(uids.size()); - const auto query = [](const TString& res, const TString& uid, const ui32 level) { + const auto query = [](const TString& res, const TString& /* uid */, const ui32 /* level */) { TStringBuilder sb; sb << "SELECT COUNT(*) FROM `/Root/olapStore/olapTable`" << Endl; sb << "WHERE" << Endl; diff --git a/ydb/core/tx/columnshard/data_accessor/local_db/collector.cpp b/ydb/core/tx/columnshard/data_accessor/local_db/collector.cpp index 2c00d0b3cbb6..2147e99b01da 100644 --- a/ydb/core/tx/columnshard/data_accessor/local_db/collector.cpp +++ b/ydb/core/tx/columnshard/data_accessor/local_db/collector.cpp @@ -11,7 +11,7 @@ void TCollector::DoAskData( } } -TDataCategorized TCollector::DoAnalyzeData(const std::vector& portions, const TString& consumer) { +TDataCategorized TCollector::DoAnalyzeData(const std::vector& portions, const TString& /* consumer */) { TDataCategorized result; for (auto&& p : portions) { auto it = AccessorsCache.Find(p->GetPortionId());