Skip to content

Commit a7f2e01

Browse files
committed
chore: upgrade to the latest released 0.25
Closes #212 Signed-off-by: R. Tyler Croy <[email protected]>
1 parent a4e8d4a commit a7f2e01

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

Cargo.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ uuid = { version = "0.8", features = ["serde", "v4"] }
3535
url = "2.3"
3636

3737
# datafusion feature is required for writer version 2
38-
#deltalake-core = { version = "0.23.0", features = ["json", "datafusion"]}
39-
#deltalake-aws = { version = "0.6.0", optional = true }
40-
#deltalake-azure = { version = "0.6.0", optional = true }
41-
deltalake-core = { git = "https://github.com/buoyant-data/delta-rs", branch = "default-engine-rustls", features = ["json", "datafusion"] }
42-
deltalake-aws = { git = "https://github.com/buoyant-data/delta-rs", branch = "default-engine-rustls", optional = true }
43-
deltalake-azure= { git = "https://github.com/buoyant-data/delta-rs", branch = "default-engine-rustls", optional = true }
38+
deltalake-core = { version = "0.25.0", features = ["json", "datafusion"]}
39+
deltalake-aws = { version = "0.8.0", optional = true }
40+
deltalake-azure = { version = "0.8.0", optional = true }
4441

4542
# s3 feature enabled, helps for locking interactions with DLQ
4643
dynamodb_lock = { version = "0.6.0", optional = true }

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,8 +979,7 @@ impl IngestProcessor {
979979
epoch_id,
980980
},
981981
)
982-
.await
983-
.map_err(DeltaTableError::from);
982+
.await;
984983
match commit {
985984
Ok(v) => {
986985
/*if v != version {

src/offsets.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub(crate) async fn write_offsets_to_delta(
7575
} else {
7676
let partitions = conflict_offsets
7777
.iter()
78-
.map(|p| p.0.split('-').last().unwrap_or("N/A"))
78+
.map(|p| p.0.split('-').next_back().unwrap_or("N/A"))
7979
.collect::<Vec<&str>>()
8080
.join(",");
8181

@@ -127,8 +127,7 @@ async fn commit_partition_offsets(
127127
epoch_id,
128128
},
129129
)
130-
.await
131-
.map_err(DeltaTableError::from);
130+
.await;
132131
match commit {
133132
Ok(v) => {
134133
info!(

src/writer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,7 @@ impl DataWriter {
594594
predicate: None,
595595
},
596596
)
597-
.await
598-
.map_err(DeltaTableError::from)?;
597+
.await?;
599598
Ok(commit.version)
600599
}
601600
}

0 commit comments

Comments
 (0)