| 2079 | const std::string& currentSplitStr) { |
| 2080 | EvalCtx context(ensureExecCtx(), exprSet, &input, currentSplitStr); |
| 2081 | std::vector<VectorPtr> results = {std::move(result)}; |
| 2082 | exprSet->eval(0, 1, true, rows, context, results); |
| 2083 | result = std::move(results[0]); |
| 2084 | } |
| 2085 | |
| 2086 | core::ExecCtx* SimpleExpressionEvaluator::ensureExecCtx() { |
| 2087 | if (!execCtx_) { |
| 2088 | execCtx_ = std::make_unique<core::ExecCtx>(pool_, queryCtx_); |
| 2089 | } |
| 2090 | return execCtx_.get(); |
| 2091 | } |
| 2092 |
no test coverage detected