Skip to content

Commit 6c8d0fd

Browse files
committed
fix: reference binding to null pointer
1 parent 4bfa2b0 commit 6c8d0fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/iceberg/expression/residual_evaluator.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@ class UnpartitionedResidualEvaluator : public ResidualEvaluator {
340340
};
341341

342342
// Static member definition
343-
const std::shared_ptr<Schema> UnpartitionedResidualEvaluator::empty_schema_;
343+
const std::shared_ptr<Schema> UnpartitionedResidualEvaluator::empty_schema_ =
344+
std::make_shared<Schema>(std::vector<SchemaField>{}, std::nullopt);
344345

345346
} // namespace
346347

0 commit comments

Comments
 (0)