Skip to content

Commit 2c7e364

Browse files
committed
cargo fmt
1 parent 2bf2c89 commit 2c7e364

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ unexpected_cfgs = { level = "warn", check-cfg = [
200200
unused_qualifications = "deny"
201201

202202

203-
# TEMPORARY: override arrow-avro for testing
203+
# FIXME - TEMPORARY override arrow-avro for testing
204204
[patch.crates-io]
205-
arrow = { git = "https://github.com/apache/arrow-rs.git", rev = "b444ea7127ebc8136564bc9af036353d0c90991b" }
206-
arrow-avro = { git = "https://github.com/apache/arrow-rs.git", rev = "b444ea7127ebc8136564bc9af036353d0c90991b" }
205+
arrow = { git = "https://github.com/apache/arrow-rs.git", rev = "d49f017fe1c6712ba32e2222c6f031278b588ca5" }
206+
arrow-avro = { git = "https://github.com/apache/arrow-rs.git", rev = "d49f017fe1c6712ba32e2222c6f031278b588ca5" }
207207

208208
# --------------------
209209
# Compilation Profiles

datafusion/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ log = { workspace = true }
7171
object_store = { workspace = true, optional = true }
7272
parquet = { workspace = true, optional = true, default-features = true }
7373
paste = "1.0.15"
74-
pyo3 = { version = "0.26.0", optional = true }
74+
pyo3 = { version = "0.26.0", optional = true } # fixme - revert
7575
recursive = { workspace = true, optional = true }
7676
sqlparser = { workspace = true, optional = true }
7777
tokio = { workspace = true }

datafusion/datasource-avro/src/source.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ impl AvroSource {
5252
}
5353

5454
fn open<R: std::io::Read>(&self, reader: R) -> Result<Reader<R>> {
55-
let avro_schema = AvroSchema::try_from(self.schema.expect("Schema must set before open").as_ref())?;
55+
let avro_schema = AvroSchema::try_from(
56+
self.schema.expect("Schema must set before open").as_ref(),
57+
)?;
5658
ReaderBuilder::new()
5759
.with_reader_schema(avro_schema)
5860
.with_batch_size(self.batch_size.expect("Batch size must set before open"))

0 commit comments

Comments
 (0)