From cebfedc381ca06fe375f06e1d589f1d03aaa12ed Mon Sep 17 00:00:00 2001 From: StevenMia Date: Mon, 15 Apr 2024 20:09:02 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: StevenMia --- crates/polars-pipe/src/pipeline/dispatcher/drive_operator.rs | 2 +- crates/polars/tests/it/io/parquet/write/binary.rs | 2 +- crates/polars/tests/it/io/parquet/write/primitive.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/polars-pipe/src/pipeline/dispatcher/drive_operator.rs b/crates/polars-pipe/src/pipeline/dispatcher/drive_operator.rs index 96b263351a3d..b6d07d9d7c31 100644 --- a/crates/polars-pipe/src/pipeline/dispatcher/drive_operator.rs +++ b/crates/polars-pipe/src/pipeline/dispatcher/drive_operator.rs @@ -214,7 +214,7 @@ pub(super) fn flush_operators( } }, // The branch for pushing data in the operators. - // This is the same as the default stack exectuor, except now it pushes + // This is the same as the default stack executor, except now it pushes // `Some(chunk)` instead of `chunk`. Some(chunk) => { match operators.get_mut(op_i) { diff --git a/crates/polars/tests/it/io/parquet/write/binary.rs b/crates/polars/tests/it/io/parquet/write/binary.rs index add477530fec..3112f115c3e7 100644 --- a/crates/polars/tests/it/io/parquet/write/binary.rs +++ b/crates/polars/tests/it/io/parquet/write/binary.rs @@ -8,7 +8,7 @@ use polars_parquet::parquet::types::ord_binary; use polars_parquet::parquet::write::WriteOptions; fn unzip_option(array: &[Option>]) -> Result<(Vec, Vec)> { - // leave the first 4 bytes anouncing the length of the def level + // leave the first 4 bytes announcing the length of the def level // this will be overwritten at the end, once the length is known. // This is unknown at this point because of the uleb128 encoding, // whose length is variable. diff --git a/crates/polars/tests/it/io/parquet/write/primitive.rs b/crates/polars/tests/it/io/parquet/write/primitive.rs index 9cab7f0977f9..3b5ae150896a 100644 --- a/crates/polars/tests/it/io/parquet/write/primitive.rs +++ b/crates/polars/tests/it/io/parquet/write/primitive.rs @@ -8,7 +8,7 @@ use polars_parquet::parquet::types::NativeType; use polars_parquet::parquet::write::WriteOptions; fn unzip_option(array: &[Option]) -> Result<(Vec, Vec)> { - // leave the first 4 bytes anouncing the length of the def level + // leave the first 4 bytes announcing the length of the def level // this will be overwritten at the end, once the length is known. // This is unknown at this point because of the uleb128 encoding, // whose length is variable.