Skip to content

Commit a2b0314

Browse files
Pin toolchain version in CI
1 parent 0b390f3 commit a2b0314

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install minimal nightly with clippy and rustfmt
2525
uses: dtolnay/rust-toolchain@master
2626
with:
27-
toolchain: nightly
27+
toolchain: nightly-2025-01-23
2828
components: rustfmt, clippy
2929

3030
- name: Install tool for formatting Cargo.toml files

src/delta_destination.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ pub async fn record_batches_to_delta(
441441
.await?;
442442

443443
let delta_schema = deltalake::kernel::Schema::try_from(schema)?;
444-
let table_name = target_url.path_segments().unwrap().last().unwrap();
444+
let table_name = target_url.path_segments().unwrap().next_back().unwrap();
445445

446446
let table = CreateBuilder::new()
447447
.with_log_store(log_store.clone())

0 commit comments

Comments
 (0)