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
{{ message }}
Repository navigation
Commit 7789bb2
Browse filesBrowse the repository at this point in the historyBrowse files
Name the execute partition index for what it is, trim the upgrade guide
`SessionContext.execute` took its second argument as `partitions`, which reads
as a count when it is a single partition index. Rename it to `partition` and
give the method a real docstring with a doctest covering both a full sweep over
`partition_count` and the out-of-range `ValueError`. Every call site in the
repo, docs, and examples passes it positionally, so add a short note to the
upgrade guide for anyone passing it by keyword.
Drop two changelog-shaped sections from the upgrade guide. `output_partitioning`
is additive and `SessionContext.execute` / `SessionConfig.set` only trade a
panic for a raise, so neither asks the reader to change anything. The
`with_extensions` recommendation goes for the same reason; it is advice, and the
extension guide already carries it under `extension_bundles`.
Also remove the comment above the partition range check. It explained the check
by way of a `MemorySourceConfig` panic, which reads as a complaint about
DataFusion's leaves. The index arrives straight from Python and no planner has
seen it, so validating it needs no more justification than any other argument
check at the boundary.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments