Skip to content

I O Execution

Lei Xu edited this page Mar 23, 2023 · 2 revisions

I/O Execution

Lance creates an execution plan to serve each scan / search request. An execution plan is a graph of execution node.

Execution Node Contract.

Execution Node Parameters Input Schema Output Schema
Scan dataset, projected columns N/A projected columns
Filter input node, filter any input schema + columns in filters
Take input node any, must have a "_rowid" column input schema minus _rowid
KNNFlatExec input node, query any input schema + {"scores"}
KNNIndexExec dataset N/A {"score", "_rowid"}
Clone this wiki locally