Fixed compile time issue
This commit is contained in:
parent
ada122e5c3
commit
3af97c71f0
|
@ -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"]}
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue