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