Skip to content

Commit 2fa0f16

Browse files
authored
fix error processing on program apply (#10814) (#18568)
2 parents 3d5bcf4 + 39accfe commit 2fa0f16

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)