diff --git a/Cargo.toml b/Cargo.toml index 6f1afc3..9024d51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dr" description = "Command-line data file processing in Rust" -version = "0.5.0" +version = "0.5.1" edition = "2021" include = [ "**/*.rs", @@ -14,5 +14,5 @@ repository = "https://git.guillemborrell.es/guillem/dr" [dependencies] clap = {version = "4.0", features = ["cargo"]} -polars-lazy = {"version" = "0.26"} -polars = {"version" = "0.26", features = ["sql", "lazy", "parquet", "decompress", "ipc", "ipc_streaming", "docs-selection"]} +polars-lazy = {"version" = "0.25"} +polars = {"version" = "0.25", features = ["sql", "parquet", "decompress", "ipc", "ipc_streaming", "docs-selection"]} diff --git a/src/sql.rs b/src/sql.rs index 4060642..2b90522 100644 --- a/src/sql.rs +++ b/src/sql.rs @@ -1,5 +1,5 @@ -use polars_lazy::lazy::LazyFrame; use polars::sql::SQLContext; +use polars_lazy::frame::LazyFrame; pub fn execute(ldf: LazyFrame, statement: &String) -> LazyFrame { let mut context = SQLContext::try_new().expect("Could not create context");