From: Erik Mackdanz Date: Mon, 27 Nov 2023 04:22:58 +0000 (-0600) Subject: attempt streaming X-Git-Url: https://git.humopery.space/?a=commitdiff_plain;h=6c199ef1b7e0149946b22102fb12d56c2fd41483;p=polarsbop.git attempt streaming --- diff --git a/README b/README index 21bb6fa..4f12d96 100644 --- a/README +++ b/README @@ -1,2 +1,3 @@ -cargo build && ./scripts/paraexport +. ~/var/source-for-polars-test.sh +cargo build && time ./scripts/paraexport ls out/ diff --git a/src/main.rs b/src/main.rs index cec9664..f028e12 100644 --- a/src/main.rs +++ b/src/main.rs @@ -73,6 +73,7 @@ async fn main() -> Result<(),PolarsError> { .rename(["2022"],["Value"]) .sort_by_exprs([col("Country Name"),col("Indicator Name")], vec!(false,false),false,false) + .with_streaming(true) .collect()?; // some console output