File tree 4 files changed +13
-11
lines changed
core/formats/arrow/serializer
services/metadata/abstract
4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ LIBRARY()
3
3
PEERDIR(
4
4
contrib/libs/apache/arrow
5
5
ydb/core/formats/arrow/common
6
+ ydb/services/metadata/abstract
6
7
ydb/library/actors/core
7
8
ydb/core/protos
8
9
)
Original file line number Diff line number Diff line change @@ -11,4 +11,15 @@ TString TFeaturesExtractor::GetRemainedParamsString() const {
11
11
return JoinSeq (" ," , features);
12
12
}
13
13
14
+ std::optional<TString> TFeaturesExtractor::Extract (const TString& paramName) {
15
+ auto it = Features.find (paramName);
16
+ if (it == Features.end ()) {
17
+ return {};
18
+ } else {
19
+ const TString result = it->second ;
20
+ Features.erase (it);
21
+ return result;
22
+ }
23
+ }
24
+
14
25
}
Original file line number Diff line number Diff line change @@ -39,16 +39,7 @@ class TFeaturesExtractor: TNonCopyable {
39
39
}
40
40
}
41
41
42
- std::optional<TString> Extract (const TString& paramName) {
43
- auto it = Features.find (paramName);
44
- if (it == Features.end ()) {
45
- return {};
46
- } else {
47
- const TString result = it->second ;
48
- Features.erase (it);
49
- return result;
50
- }
51
- }
42
+ std::optional<TString> Extract (const TString& paramName);
52
43
53
44
};
54
45
}
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ PEERDIR(
19
19
ydb/library/actors/core
20
20
ydb/library/yql/core/expr_nodes
21
21
ydb/public/api/protos
22
- ydb/services/metadata/request
23
22
)
24
23
25
24
END()
You can’t perform that action at this time.
0 commit comments