| 37 | } |
| 38 | |
| 39 | bool TableFunctionCall::getNextTuplesInternal(ExecutionContext* context) { |
| 40 | funcOutput->resetState(); |
| 41 | funcInput->bindData->evaluateParams(context->clientContext); |
| 42 | auto numTuplesScanned = info.function.tableFunc(*funcInput, *funcOutput); |
| 43 | funcOutput->setOutputSize(numTuplesScanned); |
| 44 | metrics->numOutputTuple.increase(numTuplesScanned); |
| 45 | return numTuplesScanned != 0; |
| 46 | } |
| 47 | |
| 48 | void TableFunctionCall::finalizeInternal(ExecutionContext* context) { |
| 49 | info.function.finalizeFunc(context, sharedState.get()); |
nothing calls this directly
no test coverage detected