-
Notifications
You must be signed in to change notification settings - Fork 2.4k
chore: Update to arrow/parquet 60.0.0 and object_store 0.14.2
#25335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
035eb94
70bd16a
aa36b52
e6221c1
c583b66
5be3805
6503e5b
4a98b37
15f61ac
80bbd4a
c2b2fab
159a0ec
5a502df
166d8e2
3c2e777
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,31 +90,31 @@ version = "55.1.0" | |
| # | ||
| # See for more details: https://github.com/rust-lang/cargo/issues/11329 | ||
| apache-avro = { version = "0.21", default-features = false } | ||
| arrow = { version = "59.2.0", features = [ | ||
| arrow = { version = "60.0.0", features = [ | ||
| "prettyprint", | ||
| "chrono-tz", | ||
| ] } | ||
| arrow-avro = { version = "59.2.0", default-features = false, features = [ | ||
| arrow-avro = { version = "60.0.0", default-features = false, features = [ | ||
| "deflate", | ||
| "snappy", | ||
| "zstd", | ||
| "bzip2", | ||
| "xz", | ||
| ] } | ||
| arrow-buffer = { version = "59.2.0", default-features = false } | ||
| arrow-data = { version = "59.2.0", default-features = false } | ||
| arrow-flight = { version = "59.2.0", features = [ | ||
| "flight-sql-experimental", | ||
| arrow-buffer = { version = "60.0.0", default-features = false } | ||
| arrow-data = { version = "60.0.0", default-features = false } | ||
| arrow-flight = { version = "60.0.0", features = [ | ||
| "flight-sql", | ||
| ] } | ||
| # Both codecs are required here to make sure that code paths like | ||
| # file-spilling have access to all compression codecs. | ||
| arrow-ipc = { version = "59.2.0", default-features = false, features = [ | ||
| arrow-ipc = { version = "60.0.0", default-features = false, features = [ | ||
| "lz4", | ||
| "zstd", | ||
| ] } | ||
| arrow-ord = { version = "59.2.0", default-features = false } | ||
| arrow-schema = { version = "59.2.0", default-features = false } | ||
| arrow-select = { version = "59.2.0", default-features = false } | ||
| arrow-ord = { version = "60.0.0", default-features = false } | ||
| arrow-schema = { version = "60.0.0", default-features = false } | ||
| arrow-select = { version = "60.0.0", default-features = false } | ||
| async-trait = "0.1.89" | ||
| bigdecimal = "0.4.8" | ||
| bytes = "1.11" | ||
|
|
@@ -179,9 +179,9 @@ log = "^0.4" | |
| loom = "0.7" | ||
| memchr = "2.8.1" | ||
| num-traits = { version = "0.2" } | ||
| object_store = { version = "0.13.2", default-features = false } | ||
| object_store = { version = "0.14.2", default-features = false } | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| parking_lot = "0.12" | ||
| parquet = { version = "59.2.0", default-features = false, features = [ | ||
| parquet = { version = "60.0.0", default-features = false, features = [ | ||
| "arrow", | ||
| "async", | ||
| "object_store", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -662,9 +662,9 @@ mod tests { | |
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| | filename | file_size_bytes | metadata_size_bytes | hits | extra | | ||
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| | alltypes_plain.parquet | 1851 | 8794 | 1 | page_index=false | | ||
| | alltypes_tiny_pages.parquet | 454233 | 268970 | 2 | page_index=true | | ||
| | lz4_raw_compressed_larger.parquet | 380836 | 1331 | 1 | page_index=false | | ||
| | alltypes_plain.parquet | 1851 | 8938 | 1 | page_index=false | | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| | alltypes_tiny_pages.parquet | 454233 | 268826 | 2 | page_index=true | | ||
| | lz4_raw_compressed_larger.parquet | 380836 | 1315 | 1 | page_index=false | | ||
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| "); | ||
|
|
||
|
|
@@ -693,9 +693,9 @@ mod tests { | |
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| | filename | file_size_bytes | metadata_size_bytes | hits | extra | | ||
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| | alltypes_plain.parquet | 1851 | 8794 | 4 | page_index=false | | ||
| | alltypes_tiny_pages.parquet | 454233 | 268970 | 2 | page_index=true | | ||
| | lz4_raw_compressed_larger.parquet | 380836 | 1331 | 2 | page_index=false | | ||
| | alltypes_plain.parquet | 1851 | 8938 | 4 | page_index=false | | ||
| | alltypes_tiny_pages.parquet | 454233 | 268826 | 2 | page_index=true | | ||
| | lz4_raw_compressed_larger.parquet | 380836 | 1315 | 2 | page_index=false | | ||
| +-----------------------------------+-----------------+---------------------+------+------------------+ | ||
| "); | ||
|
|
||
|
|
@@ -862,14 +862,14 @@ mod tests { | |
| ])? | ||
| .sort(vec![col("filename").sort(true, false)])?; | ||
| let rbs = df.collect().await?; | ||
| assert_snapshot!(batches_to_string(&rbs),@r" | ||
| assert_snapshot!(batches_to_string(&rbs),@r#" | ||
| +---------------------+-----------+-----------------+------+------+ | ||
| | metadata_size_bytes | filename | file_size_bytes | etag | hits | | ||
| +---------------------+-----------+-----------------+------+------+ | ||
| | 212 | 0.parquet | 3642 | 0 | 2 | | ||
| | 212 | 1.parquet | 3642 | 1 | 2 | | ||
| | 216 | 0.parquet | 3620 | "0" | 2 | | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| | 216 | 1.parquet | 3620 | "1" | 2 | | ||
| +---------------------+-----------+-----------------+------+------+ | ||
| "); | ||
| "#); | ||
|
|
||
| Ok(()) | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ use datafusion_expr::{BinaryExpr, Operator, lit, utils}; | |
|
|
||
| use arrow::{ | ||
| array::AsArray, | ||
| datatypes::{DataType, Field}, | ||
| datatypes::{DataType, Field, Metadata}, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| record_batch::RecordBatch, | ||
| }; | ||
| use datafusion_expr::execution_props::ExecutionProps; | ||
|
|
@@ -423,7 +423,7 @@ pub async fn pruned_partition_list<'a>( | |
| .iter() | ||
| .map(|(n, d)| Field::new(n, d.clone(), true)) | ||
| .collect(), | ||
| Default::default(), | ||
| Metadata::new(), | ||
| )?; | ||
|
|
||
| Ok(objects | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.