Commit aa1f551
docs: pass
`with_extension<T>` keys by the concrete type `T`, so wrapping the
plan in `Arc::new(...)` would store it as `Arc<ParquetAccessPlan>`.
The downstream lookup is `extensions.get::<ParquetAccessPlan>()`,
which would miss the wrapped value and scan all row groups.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>access_plan directly in with_extension example1 parent 8a54391 commit aa1f551
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments