MCPcopy Create free account
hub / github.com/bytedance/bolt / addError

Method addError

bolt/expression/EvalCtx.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void EvalCtx::addError(
147 vector_size_t index,
148 const std::exception_ptr& exceptionPtr,
149 ErrorVectorPtr& errorsPtr) const {
150 ensureErrorsVectorSize(errorsPtr, index + 1);
151 if (errorsPtr->isNullAt(index)) {
152 errorsPtr->setNull(index, false);
153 errorsPtr->set(index, std::make_shared<std::exception_ptr>(exceptionPtr));
154 }
155}
156
157void EvalCtx::addErrors(
158 const SelectivityVector& rows,

Callers 2

rowsWithErrorFunction · 0.80
TEST_FFunction · 0.80

Calls 3

isNullAtMethod · 0.45
setNullMethod · 0.45
setMethod · 0.45

Tested by 1

TEST_FFunction · 0.64