Apache DataFusion SQL Query Engine
chore: fix typos & pin action hashes (#17855)
Jeffrey Vo35f45b544de8
diff --git a/.github/actions/setup-macos-aarch64-builder/action.yaml b/.github/actions/setup-macos-aarch64-builder/action.yamlindex 06fddebe95..b62370447a 100644--- a/.github/actions/setup-macos-aarch64-builder/action.yaml+++ b/.github/actions/setup-macos-aarch64-builder/action.yaml@@ -44,7 +44,7 @@ runs:rustup default stablerustup component add rustfmt- name: Setup rust cache- uses: Swatinem/rust-cache@v2+ uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1with:save-if: ${{ github.ref_name == 'main' }}- name: Configure rust runtime envdiff --git a/.github/workflows/audit.yml b/.github/workflows/audit.ymlindex 9fe8975d0c..29f320539a 100644--- a/.github/workflows/audit.yml+++ b/.github/workflows/audit.yml@@ -42,7 +42,7 @@ jobs:steps:- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0- name: Install cargo-audit- uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2+ uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14with:tool: cargo-audit- name: Run audit checkdiff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex 56fea62214..ca030fe6d1 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -412,7 +412,7 @@ jobs:sudo apt-get update -qqsudo apt-get install -y -qq clang- name: Setup wasm-pack- uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2+ uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14with:tool: wasm-pack- name: Run tests with headless mode@@ -739,7 +739,7 @@ jobs:- name: Setup Rust toolchainuses: ./.github/actions/setup-builder- name: Install cargo-msrv- uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2+ uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14with:tool: cargo-msrv@@ -781,7 +781,7 @@ jobs:name: Spell Check with Typosruns-on: ubuntu-lateststeps:- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0with:persist-credentials: false- - uses: crate-ci/typos@v1+ - uses: crate-ci/typos@6d35b835f6f431bbe715c4c1ccd2c7d3264e11fb # v1.37.0diff --git a/datafusion/common/src/scalar/mod.rs b/datafusion/common/src/scalar/mod.rsindex bba994dd11..8182e4fd47 100644--- a/datafusion/common/src/scalar/mod.rs+++ b/datafusion/common/src/scalar/mod.rs@@ -2551,7 +2551,7 @@ impl ScalarValue {Arc::new(array)}// explicitly enumerate unsupported types so newly added- // types must be aknowledged, Time32 and Time64 types are+ // types must be acknowledged, Time32 and Time64 types are// not supported if the TimeUnit is not valid (Time32 can// only be used with Second and Millisecond, Time64 only// with Microsecond and Nanosecond)diff --git a/datafusion/core/src/datasource/listing/table.rs b/datafusion/core/src/datasource/listing/table.rsindex 18d84c4ba0..08066d14d9 100644--- a/datafusion/core/src/datasource/listing/table.rs+++ b/datafusion/core/src/datasource/listing/table.rs@@ -1134,7 +1134,7 @@ impl ListingTable {}}-// Expressions can be used for parttion pruning if they can be evaluated using+// Expressions can be used for partition pruning if they can be evaluated using// only the partition columns and there are partition columns.fn can_be_evaluated_for_partition_pruning(partition_column_names: &[&str],diff --git a/datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rs b/datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rsindex 41ddfaa100..f002355f66 100644--- a/datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rs+++ b/datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rs@@ -1102,7 +1102,7 @@ async fn test_hashjoin_dynamic_filter_pushdown_partitioned() {Arc::new(CoalesceBatchesExec::new(hash_join, 8192)) as Arc<dyn ExecutionPlan>;// Top-level CoalescePartitionsExeclet cp = Arc::new(CoalescePartitionsExec::new(cb)) as Arc<dyn ExecutionPlan>;- // Add a sort for determistic output+ // Add a sort for deterministic outputlet plan = Arc::new(SortExec::new(LexOrdering::new(vec![PhysicalSortExpr::new(col("a", &probe_side_schema).unwrap(),@@ -1303,7 +1303,7 @@ async fn test_hashjoin_dynamic_filter_pushdown_collect_left() {Arc::new(CoalesceBatchesExec::new(hash_join, 8192)) as Arc<dyn ExecutionPlan>;// Top-level CoalescePartitionsExeclet cp = Arc::new(CoalescePartitionsExec::new(cb)) as Arc<dyn ExecutionPlan>;- // Add a sort for determistic output+ // Add a sort for deterministic outputlet plan = Arc::new(SortExec::new(LexOrdering::new(vec![PhysicalSortExpr::new(col("a", &probe_side_schema).unwrap(),diff --git a/datafusion/physical-expr/src/expressions/case.rs b/datafusion/physical-expr/src/expressions/case.rsindex 65a2108266..5409cfe8e7 100644--- a/datafusion/physical-expr/src/expressions/case.rs+++ b/datafusion/physical-expr/src/expressions/case.rs@@ -1070,7 +1070,6 @@ mod tests {.into_iter().collect();- //let valid_array = vec![true, false, false, true, false, trulet null_buffer = Buffer::from([0b00101001u8]);let load4 = load4.into_data()diff --git a/docs/source/user-guide/introduction.md b/docs/source/user-guide/introduction.mdindex 336036c331..dc4825dc06 100644--- a/docs/source/user-guide/introduction.md+++ b/docs/source/user-guide/introduction.md@@ -86,7 +86,7 @@ Here are some example systems built using DataFusion:By using DataFusion, projects are freed to focus on their specificfeatures, and avoid reimplementing general (but still necessary)features such as an expression representation, standard optimizations,-parellelized streaming execution plans, file format support, etc.+parallelized streaming execution plans, file format support, etc.## Known Usersdiff --git a/typos.toml b/typos.tomlindex e4b57f5c14..09c5c55c45 100644--- a/typos.toml+++ b/typos.toml@@ -34,6 +34,9 @@ alph = "alph"wih = "wih"Ded = "Ded"+# From SLT README+nteger = "nteger"+[files]extend-exclude = ["*.slt",