File tree 2 files changed +9
-4
lines changed
ydb/core/formats/arrow/program
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ class TFilterVisitor: public arrow::ArrayVisitor {
60
60
arrow::Status VisitImpl (const TArray& array) {
61
61
AFL_VERIFY (Started);
62
62
for (ui32 i = 0 ; i < array.length (); ++i) {
63
- const bool columnValue = !array.IsNull (i) && (bool )array.Value (i);
64
63
const ui32 currentIdx = CursorIdx++;
65
- FiltersMerged[currentIdx] = FiltersMerged[currentIdx] && columnValue ;
64
+ FiltersMerged[currentIdx] = FiltersMerged[currentIdx] && !array. IsNull (i) && ( bool )array. Value (i) ;
66
65
}
67
66
AFL_VERIFY (CursorIdx <= FiltersMerged.size ());
68
67
return arrow::Status::OK ();
Original file line number Diff line number Diff line change @@ -212,13 +212,19 @@ TConclusion<std::vector<std::shared_ptr<IResourceProcessor>>> TGraph::BuildChain
212
212
if (readyNodeIds.size () != Nodes.size ()) {
213
213
std::set<ui32> notCoveredIds;
214
214
TStringBuilder sb;
215
+ ui32 count = 0 ;
215
216
for (auto && [id, n] : Nodes) {
216
217
if (!readyNodeIds.contains (id)) {
218
+ if (n->GetProcessor ()->GetProcessorType () != EProcessorType::Const) {
219
+ ++count;
220
+ }
217
221
sb << n->DebugJson ().GetStringRobust () << " /" << n->GetProcessor ()->DebugJson ().GetStringRobust () << Endl;
218
222
}
219
223
}
220
- return TConclusionStatus::Fail (
221
- " not found final nodes: " + ::ToString (readyNodeIds.size ()) + " covered from " + ::ToString (Nodes.size ()) + " : details = " + sb);
224
+ if (count) {
225
+ return TConclusionStatus::Fail (
226
+ " not found final nodes: " + ::ToString (readyNodeIds.size ()) + " covered from " + ::ToString (Nodes.size ()) + " : details = " + sb);
227
+ }
222
228
}
223
229
std::vector<std::shared_ptr<IResourceProcessor>> result;
224
230
for (auto && c : nodeChains) {
You can’t perform that action at this time.
0 commit comments