Skip to content

Commit

Permalink
make range internal
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Nov 18, 2024
1 parent fe9ff5c commit cc9752c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/daft-connect/src/translation/logical_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ fn range(range: Range) -> eyre::Result<LogicalPlanBuilder> {
ensure!(step > 0, "step must be greater than 0");

let plan = Python::with_gil(|py| {
let range_module = PyModule::import_bound(py, "daft.io.range")
.wrap_err("Failed to import daft.io.range")?;
let range_module = PyModule::import_bound(py, "daft.io._range")
.wrap_err("Failed to import range module")?;

let range = range_module
.getattr(pyo3::intern!(py, "RangeScanOperator"))
Expand Down

0 comments on commit cc9752c

Please sign in to comment.