From 78e6a56bac7ac8261ce7f7933b65cacea67722b5 Mon Sep 17 00:00:00 2001 From: Abraham Alcantara Gonzalez Date: Wed, 6 Sep 2023 18:46:29 -0600 Subject: [PATCH] fix: unit tests --- crates/polars-io/src/json/mod.rs | 5 +---- py-polars/polars/lazyframe/frame.py | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/polars-io/src/json/mod.rs b/crates/polars-io/src/json/mod.rs index 8314192a09a11..7b828cd69ae5f 100644 --- a/crates/polars-io/src/json/mod.rs +++ b/crates/polars-io/src/json/mod.rs @@ -118,10 +118,7 @@ pub struct JsonWriter { json_format: JsonFormat, } -impl JsonWriter -where - W: Write + 'static, -{ +impl JsonWriter { pub fn with_json_format(mut self, format: JsonFormat) -> Self { self.json_format = format; self diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index cea08e43f4aa8..c2d0e46524e27 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -2191,6 +2191,7 @@ def sink_json( comm_subplan_elim=False, comm_subexpr_elim=False, streaming=True, + eager=False, ) return lf.sink_json( path=path, json_format=json_format, maintain_order=maintain_order