You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ydb/library/yql/minikql/computation/mkql_computation_node_codegen_impl.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ class TSimpleStatefulWideFlowCodegeneratorNode
36
36
for (size_t pos = 0; pos < width; pos++) {
37
37
valuePtrsVec[pos] = valuesVec.data() + pos;
38
38
}
39
-
auto res = static_cast<const TDerived*>(this)->DoProcess(*static_cast<TState*>(state.GetRawPtr()), ctx, fetchRes, valuePtrsVec.data());
39
+
auto res = static_cast<const TDerived*>(this)->DoProcess(*static_cast<TState*>(state.GetRawPtr()), ctx, fetchRes, valuePtrsVec.data(), valuePtrsVec.data());
40
40
for (size_t pos = 0; pos < width; pos++) {
41
41
values[pos] = valuesVec[pos].Release();
42
42
}
@@ -52,8 +52,9 @@ class TSimpleStatefulWideFlowCodegeneratorNode
52
52
}
53
53
EProcessResult res = EProcessResult::Fetch;
54
54
while (res == EProcessResult::Fetch) {
55
-
auto fetchRes = SourceFlow->FetchValues(ctx, output);
56
-
res = static_cast<const TDerived*>(this)->DoProcess(*static_cast<TState*>(state.GetRawPtr()), ctx, fetchRes, output);
55
+
auto *const *input = static_cast<const TDerived*>(this)->PrepareInput(*static_cast<TState*>(state.GetRawPtr()), ctx, output);
56
+
auto fetchRes = input ? SourceFlow->FetchValues(ctx, input) : EFetchResult::One;
57
+
res = static_cast<const TDerived*>(this)->DoProcess(*static_cast<TState*>(state.GetRawPtr()), ctx, fetchRes, input, output);
0 commit comments