| 260 | } |
| 261 | |
| 262 | static 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 | |
| 269 | static LogicalType bindColumnType(const NpyReader& reader) { |
| 270 | if (reader.getShape().size() == 1) { |
nothing calls this directly
no test coverage detected