Skip to content

Commit 48b00f6

Browse files
committed
fixup
1 parent f18e7fd commit 48b00f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ydb/library/yql/minikql/comp_nodes/ut/mkql_wide_combine_ut.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
10881088
NUdf::TUnboxedValue item;
10891089
while (!expected.empty()) {
10901090
UNIT_ASSERT(iterator.Next(item));
1091-
TString actual = item.AsStringRef().Data();
1091+
const auto actual = TString(item.AsStringRef());
10921092

10931093
auto it = expected.find(actual);
10941094
UNIT_ASSERT(it != expected.end());
@@ -1178,7 +1178,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
11781178
NUdf::TUnboxedValue item;
11791179
while (!expected.empty()) {
11801180
UNIT_ASSERT(iterator.Next(item));
1181-
TString actual = item.AsStringRef().Data();
1181+
const auto actual = TString(item.AsStringRef());
11821182

11831183
auto it = expected.find(actual);
11841184
UNIT_ASSERT(it != expected.end());
@@ -1266,7 +1266,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
12661266
NUdf::TUnboxedValue item;
12671267
while (!expected.empty()) {
12681268
UNIT_ASSERT(iterator.Next(item));
1269-
TString actual = item.AsStringRef().Data();
1269+
const auto actual = TString(item.AsStringRef());
12701270

12711271
auto it = expected.find(actual);
12721272
UNIT_ASSERT(it != expected.end());
@@ -1343,7 +1343,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
13431343
NUdf::TUnboxedValue item;
13441344
while (!expected.empty()) {
13451345
UNIT_ASSERT(iterator.Next(item));
1346-
TString actual = item.AsStringRef().Data();
1346+
const auto actual = TString(item.AsStringRef());
13471347

13481348
auto it = expected.find(actual);
13491349
UNIT_ASSERT(it != expected.end());

ydb/library/yql/minikql/computation/mock_spiller_factory_ut.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TMockSpillerFactory : public ISpillerFactory
1111
{
1212
public:
1313
ISpiller::TPtr CreateSpiller() override {
14-
return std::make_shared<TMockSpiller>();
14+
return CreateMockSpiller();
1515
}
1616
};
1717

0 commit comments

Comments
 (0)