Transform error vector to map element rows back to top-level rows.
| 101 | |
| 102 | // Transform error vector to map element rows back to top-level rows. |
| 103 | void transformErrorVector( |
| 104 | EvalCtx& lambdaCtx, |
| 105 | EvalCtx* context, |
| 106 | const SelectivityVector& rows, |
| 107 | const BufferPtr& elementToTopLevelRows) { |
| 108 | // Transform error vector to map element rows back to top-level rows. |
| 109 | if (elementToTopLevelRows) { |
| 110 | lambdaCtx.addElementErrorsToTopLevel( |
| 111 | rows, elementToTopLevelRows, *context->errorsPtr()); |
| 112 | } else { |
| 113 | lambdaCtx.addErrors(rows, *lambdaCtx.errorsPtr(), *context->errorsPtr()); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | std::shared_ptr<RowVector> createRowVector( |
| 118 | EvalCtx* context, |
nothing calls this directly
no test coverage detected