Skip to content

Commit 39accfe

Browse files
ivanmorozov333dorooleg
authored andcommitted
fix error processing on program apply (#10814)
1 parent a77c52e commit 39accfe

File tree

1 file changed

+4
-1
lines changed
  • ydb/core/tx/columnshard/engines/reader/sys_view/abstract

1 file changed

+4
-1
lines changed

ydb/core/tx/columnshard/engines/reader/sys_view/abstract/iterator.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ class TStatsIteratorBase: public TScanIteratorBase {
5050

5151
// Leave only requested columns
5252
auto resultBatch = NArrow::TColumnOperator().Adapt(originalBatch, ResultSchema).DetachResult();
53-
NArrow::TStatusValidator::Validate(ReadMetadata->GetProgram().ApplyProgram(resultBatch));
53+
auto applyConclusion = ReadMetadata->GetProgram().ApplyProgram(resultBatch);
54+
if (!applyConclusion.ok()) {
55+
return TConclusionStatus::Fail(applyConclusion.ToString());
56+
}
5457
if (resultBatch->num_rows() == 0) {
5558
continue;
5659
}

0 commit comments

Comments
 (0)