-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(rust): remove parquet logic from
polars-arrow
and consolidate…
… logic in `polars-parquet` crate. (#12022)
- Loading branch information
Showing
103 changed files
with
533 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#[cfg(feature = "parquet")] | ||
pub use arrow::io::parquet::read::statistics::Statistics as ParquetStatistics; | ||
pub use polars_parquet::read::statistics::Statistics as ParquetStatistics; | ||
#[cfg(feature = "parquet")] | ||
pub use arrow::io::parquet::read::statistics::*; | ||
pub use polars_parquet::read::statistics::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[package] | ||
name = "polars-parquet" | ||
version = { workspace = true } | ||
authors = [ | ||
"Jorge C. Leitao <[email protected]>", | ||
"Apache Arrow <[email protected]>", | ||
"Ritchie Vink <[email protected]>", | ||
] | ||
edition = { workspace = true } | ||
homepage = { workspace = true } | ||
license-file = "./LICENSE" | ||
repository = { workspace = true } | ||
description = "polars parquet IO" | ||
|
||
[dependencies] | ||
ahash = { workspace = true } | ||
arrow = { workspace = true, features = ["io_ipc"] } | ||
base64 = { workspace = true } | ||
ethnum = { workspace = true } | ||
fallible-streaming-iterator = { workspace = true, optional = true } | ||
futures = { workspace = true, optional = true } | ||
num-traits = { workspace = true } | ||
parquet2 = { workspace = true, optional = true, default-features = true, features = ["async"] } | ||
polars-error = { workspace = true, features = ["parquet2"] } | ||
simdutf8 = { workspace = true } | ||
|
||
[features] | ||
bloom_filter = ["parquet2/bloom_filter"] | ||
async = ["futures"] | ||
|
||
compression = [ | ||
"zstd", | ||
"gzip", | ||
"snappy", | ||
"lz4", | ||
"brotli", | ||
] | ||
|
||
# compression backends | ||
zstd = ["parquet2/zstd"] | ||
snappy = ["parquet2/snappy"] | ||
gzip = ["parquet2/gzip"] | ||
lz4 = ["parquet2/lz4"] | ||
brotli = ["parquet2/brotli"] |
Oops, something went wrong.