You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(registry): split provider into scan_provider + lookup_provider (#6)
* refactor(registry): split provider into scan_provider + lookup_provider
Separate RegisteredTable.provider into scan_provider (TableProvider for
WHERE evaluation) and lookup_provider (PointLookupProvider for key-based
fetch), preparing for Parquet-native adaptive filtering.
* fix(planner): use separate key column indices for scan and lookup schemas
The scan_provider and lookup_provider may have different schemas, so the
key column can be at different indices. Use scan_key_col_idx when reading
scan batches and lookup_key_col_idx for attach_distances on fetched rows.
* style(planner): fix rustfmt formatting
* fix(registry): validate key column in scan_provider schema at registration
Add scan_provider.schema().index_of(key_col) guard in add_with_config to
catch misconfigured registrations early instead of at query execution time.
0 commit comments