MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / tableFunc

Function tableFunc

src/processor/operator/persistent/reader/npy/npy_reader.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262static offset_t tableFunc(const TableFuncInput& input, TableFuncOutput& output) {
263 auto sharedState = reinterpret_cast<NpyScanSharedState*>(input.sharedState);
264 auto blockIdx = sharedState->getNext().second;
265 sharedState->npyMultiFileReader->readBlock(blockIdx, output.dataChunk);
266 return output.dataChunk.state->getSelVector().getSelSize();
267}
268
269static LogicalType bindColumnType(const NpyReader& reader) {
270 if (reader.getShape().size() == 1) {

Callers

nothing calls this directly

Calls 3

readBlockMethod · 0.80
getSelSizeMethod · 0.80
getNextMethod · 0.45

Tested by

no test coverage detected