| 77 | } |
| 78 | |
| 79 | Status TableSinkNodeConsumer::Init(const std::shared_ptr<Schema>& schema, |
| 80 | BackpressureControl* backpressure_control, |
| 81 | ExecPlan* plan) { |
| 82 | // If the user is collecting into a table then backpressure is meaningless |
| 83 | ARROW_UNUSED(backpressure_control); |
| 84 | schema_ = schema; |
| 85 | return Status::OK(); |
| 86 | } |
| 87 | |
| 88 | Status TableSinkNodeConsumer::Consume(ExecBatch batch) { |
| 89 | auto guard = consume_mutex_.Lock(); |