Fixed compile time issue
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Guillem Borrell 2022-12-25 09:22:24 +00:00
parent ada122e5c3
commit 3af97c71f0
2 changed files with 4 additions and 4 deletions

View file

@ -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"]}

View file

@ -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");