Skip to content

Commit c6b2448

Browse files
authored
Merge pull request #3 from basecamp/fix-ambiguous-quarter-usage-in-arrow-arith
Bump arrow to fix ambiguous .quarter() method conflict
2 parents cc6e193 + f5ba2c4 commit c6b2448

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

s3-fast-list/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ hyper-rustls = "0.24.2"
1919
aws-smithy-runtime = { version = "1.1.1", features = ["client", "connector-hyper-0-14-x"] }
2020
aws-smithy-runtime-api = "1.1.1"
2121
aws-smithy-async = "1.1.1"
22-
arrow = "49.0.0"
23-
arrow-array = "49.0.0"
24-
arrow-schema = "49.0.0"
25-
parquet = { version = "49.0.0", features = ["async"] }
22+
arrow = "54.3.1"
23+
arrow-array = "54.3.1"
24+
arrow-schema = "54.3.1"
25+
parquet = { version = "54.3.1", features = ["async"] }
2626
futures = "0.3.30"
2727
ctrlc = "3.4.2"
2828
chrono = "0.4.31"

s3-fast-list/src/data_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ impl PrefixMap {
106106
let buffer_size = 100 * MB;
107107
let f = tokio::fs::File::create(output_file).await?;
108108
let writer = tokio::io::BufWriter::with_capacity(buffer_size, f);
109-
let mut parquet = utils::AsyncParquetOutput::new(writer, buffer_size);
109+
let mut parquet = utils::AsyncParquetOutput::new(writer);
110110

111111
let hash = self.inner.read().await;
112112

s3-fast-list/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct AsyncParquetOutput<W> {
1717

1818
impl<W: AsyncWrite + Unpin + Send> AsyncParquetOutput<W> {
1919

20-
pub fn new(buf_wr: W, buffer_size: usize) -> Self {
20+
pub fn new(buf_wr: W) -> Self {
2121

2222
// define fields
2323
let field_key = Field::new("Key", DataType::Utf8, false);
@@ -37,7 +37,7 @@ impl<W: AsyncWrite + Unpin + Send> AsyncParquetOutput<W> {
3737
.build();
3838

3939
// build writer
40-
let writer = AsyncArrowWriter::try_new(buf_wr, Arc::clone(&schema_ref), buffer_size, Some(writer_props.clone())).unwrap();
40+
let writer = AsyncArrowWriter::try_new(buf_wr, Arc::clone(&schema_ref), Some(writer_props.clone())).unwrap();
4141

4242
Self {
4343
schema_ref: schema_ref,

0 commit comments

Comments
 (0)