From 10ab137a7da4936f7e35bd93d17d6f4b9fe94044 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Fri, 29 Sep 2023 10:11:43 +0100 Subject: [PATCH] Further review feedback --- parquet/src/arrow/arrow_writer/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parquet/src/arrow/arrow_writer/mod.rs b/parquet/src/arrow/arrow_writer/mod.rs index 3ea7c6a2d3bf..43e29d86e8ae 100644 --- a/parquet/src/arrow/arrow_writer/mod.rs +++ b/parquet/src/arrow/arrow_writer/mod.rs @@ -441,9 +441,9 @@ impl ArrowColumnChunk { /// /// // Spawn work to encode columns /// let mut worker_iter = workers.iter_mut(); -/// for (a, f) in to_write.iter().zip(&schema.fields) { -/// for c in compute_leaves(f, a).unwrap() { -/// worker_iter.next().unwrap().1.send(c).unwrap(); +/// for (arr, field) in to_write.iter().zip(&schema.fields) { +/// for leaves in compute_leaves(field, arr).unwrap() { +/// worker_iter.next().unwrap().1.send(leaves).unwrap(); /// } /// } ///