-
Notifications
You must be signed in to change notification settings - Fork 472
I O Execution
Lei Xu edited this page Mar 23, 2023
·
2 revisions
Lance creates an execution plan to serve each scan / search request. An execution plan is a graph of execution node.
| 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"} |