From 407609259d7d108ec61431f18f193e2b790d3578 Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Wed, 4 Sep 2024 19:28:31 -0400 Subject: [PATCH] Expose buffer size, bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/util.rs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c6069e..57d8f5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1590,7 +1590,7 @@ dependencies = [ [[package]] name = "osm-pbf-parquet" -version = "0.7.1" +version = "0.7.2" dependencies = [ "anyhow", "arrow", diff --git a/Cargo.toml b/Cargo.toml index bf63864..584b129 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "osm-pbf-parquet" -version = "0.7.1" +version = "0.7.2" edition = "2021" [dependencies] diff --git a/src/util.rs b/src/util.rs index f480866..5b1e66e 100644 --- a/src/util.rs +++ b/src/util.rs @@ -33,7 +33,10 @@ pub struct Args { #[arg(long)] pub worker_threads: Option, + /// Advanced options: + /// Input buffer size, default 8MB + #[arg(long)] pub input_buffer_size_mb: Option, /// Override target record batch size, balance this with available memory