| 185 | } |
| 186 | |
| 187 | Status ScanNode::Open(RuntimeState* state) { |
| 188 | RETURN_IF_ERROR(ExecNode::Open(state)); |
| 189 | |
| 190 | // Open Runtime filter expressions. |
| 191 | for (FilterContext& ctx : filter_ctxs_) { |
| 192 | RETURN_IF_ERROR(ctx.expr_eval->Open(state)); |
| 193 | } |
| 194 | return Status::OK(); |
| 195 | } |
| 196 | |
| 197 | void ScanNode::Close(RuntimeState* state) { |
| 198 | if (is_closed()) return; |
nothing calls this directly
no test coverage detected