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
The name `multi_source` described the inputs (multiple sources) rather than
what the function does. Its defining feature is coordinated predicate
pushdown into a user-supplied `combine` function; the multi-source aspect is
incidental. Rename to `pushdown_combine` to name the behavior, consistent
with polars/polars-io-tools naming.
- Move io_sources/multi_source.py -> pushdown_combine.py
- Move tests/io_sources/test_multi_source.py -> test_pushdown_combine.py
- Update the function, __all__, imports, test class names, and docs
- FilterSpec is unchanged
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Pascal Tomecek <40371786+ptomecek@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/wiki/API-Reference.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# API reference
2
2
3
3
The public surface of `polars-io-tools`. Importing the package (`import polars_io_tools`) registers the `piot` namespace and re-exports the functions below at
4
-
the top level (`from polars_io_tools import scan_db, multi_source, ...`).
4
+
the top level (`from polars_io_tools import scan_db, pushdown_combine, ...`).
5
5
6
6
Most operations are available two ways:
7
7
@@ -224,10 +224,10 @@ Top-level form of `lf.piot.sink_clickhouse`; see the namespace entry above.
0 commit comments