Skip to content

Commit 35f45b5

Browse files
authored
chore: fix typos & pin action hashes (#17855)
1 parent 615bcee commit 35f45b5

File tree

9 files changed

+14
-12
lines changed

9 files changed

+14
-12
lines changed

.github/actions/setup-macos-aarch64-builder/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
rustup default stable
4545
rustup component add rustfmt
4646
- name: Setup rust cache
47-
uses: Swatinem/rust-cache@v2
47+
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
4848
with:
4949
save-if: ${{ github.ref_name == 'main' }}
5050
- name: Configure rust runtime env

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444
- name: Install cargo-audit
45-
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2
45+
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14
4646
with:
4747
tool: cargo-audit
4848
- name: Run audit check

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ jobs:
412412
sudo apt-get update -qq
413413
sudo apt-get install -y -qq clang
414414
- name: Setup wasm-pack
415-
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2
415+
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14
416416
with:
417417
tool: wasm-pack
418418
- name: Run tests with headless mode
@@ -739,7 +739,7 @@ jobs:
739739
- name: Setup Rust toolchain
740740
uses: ./.github/actions/setup-builder
741741
- name: Install cargo-msrv
742-
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2
742+
uses: taiki-e/install-action@3216b6964cbfe053bb8b9a2ef245bd9300e2061d # v2.62.14
743743
with:
744744
tool: cargo-msrv
745745

@@ -781,7 +781,7 @@ jobs:
781781
name: Spell Check with Typos
782782
runs-on: ubuntu-latest
783783
steps:
784-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
784+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
785785
with:
786786
persist-credentials: false
787-
- uses: crate-ci/typos@v1
787+
- uses: crate-ci/typos@6d35b835f6f431bbe715c4c1ccd2c7d3264e11fb # v1.37.0

datafusion/common/src/scalar/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2551,7 +2551,7 @@ impl ScalarValue {
25512551
Arc::new(array)
25522552
}
25532553
// explicitly enumerate unsupported types so newly added
2554-
// types must be aknowledged, Time32 and Time64 types are
2554+
// types must be acknowledged, Time32 and Time64 types are
25552555
// not supported if the TimeUnit is not valid (Time32 can
25562556
// only be used with Second and Millisecond, Time64 only
25572557
// with Microsecond and Nanosecond)

datafusion/core/src/datasource/listing/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ impl ListingTable {
11341134
}
11351135
}
11361136

1137-
// Expressions can be used for parttion pruning if they can be evaluated using
1137+
// Expressions can be used for partition pruning if they can be evaluated using
11381138
// only the partition columns and there are partition columns.
11391139
fn can_be_evaluated_for_partition_pruning(
11401140
partition_column_names: &[&str],

datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ async fn test_hashjoin_dynamic_filter_pushdown_partitioned() {
11021102
Arc::new(CoalesceBatchesExec::new(hash_join, 8192)) as Arc<dyn ExecutionPlan>;
11031103
// Top-level CoalescePartitionsExec
11041104
let cp = Arc::new(CoalescePartitionsExec::new(cb)) as Arc<dyn ExecutionPlan>;
1105-
// Add a sort for determistic output
1105+
// Add a sort for deterministic output
11061106
let plan = Arc::new(SortExec::new(
11071107
LexOrdering::new(vec![PhysicalSortExpr::new(
11081108
col("a", &probe_side_schema).unwrap(),
@@ -1303,7 +1303,7 @@ async fn test_hashjoin_dynamic_filter_pushdown_collect_left() {
13031303
Arc::new(CoalesceBatchesExec::new(hash_join, 8192)) as Arc<dyn ExecutionPlan>;
13041304
// Top-level CoalescePartitionsExec
13051305
let cp = Arc::new(CoalescePartitionsExec::new(cb)) as Arc<dyn ExecutionPlan>;
1306-
// Add a sort for determistic output
1306+
// Add a sort for deterministic output
13071307
let plan = Arc::new(SortExec::new(
13081308
LexOrdering::new(vec![PhysicalSortExpr::new(
13091309
col("a", &probe_side_schema).unwrap(),

datafusion/physical-expr/src/expressions/case.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,6 @@ mod tests {
10701070
.into_iter()
10711071
.collect();
10721072

1073-
//let valid_array = vec![true, false, false, true, false, tru
10741073
let null_buffer = Buffer::from([0b00101001u8]);
10751074
let load4 = load4
10761075
.into_data()

docs/source/user-guide/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Here are some example systems built using DataFusion:
8686
By using DataFusion, projects are freed to focus on their specific
8787
features, and avoid reimplementing general (but still necessary)
8888
features such as an expression representation, standard optimizations,
89-
parellelized streaming execution plans, file format support, etc.
89+
parallelized streaming execution plans, file format support, etc.
9090

9191
## Known Users
9292

typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ alph = "alph"
3434
wih = "wih"
3535
Ded = "Ded"
3636

37+
# From SLT README
38+
nteger = "nteger"
39+
3740
[files]
3841
extend-exclude = [
3942
"*.slt",

0 commit comments

Comments
 (0)