-
Notifications
You must be signed in to change notification settings - Fork 786
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
parquet does not compile with features=["zstd"]
#1630
Comments
One way to work around this is to manually add a dependency on chrono = { version = "0.4" }
parquet = { version = "12.0.0", default-features = false, features = ["zstd"] } |
Thats what I did, but it was not required in version 11. |
No I don't think a compile error is expected. This definitely seems like a bug -- I just wanted to document the issue (and solution) in case someone else ran into it as well I am not sure removing More investigation is required to figure out the right fix I think |
FWIW I've had this in my Cargo.toml since parquet-0.9: # Chrono is not a direct dependency; it's a dependency of "parquet". However,
# parquet's Cargo.toml is slightly buggy, so if we don't specify chrono here
# then parquet fails to compile.
chrono = { version = "0.4.19", default-features = false, features = ["clock"] } |
…I, fix errors (#1630) (#1822) * Test more feature flag combinations in CI (#1630) * Clippy lints * Fix clippy fix * Fix running examples from workspace root * Format * Fix arrow benchmark features * Split up CI yaml * Add docs * Rework caching * Use lockfile for cache key Don't install unused components
reported by @zeroflaw
A project with
parquet = { version = "12.0.0", default-features = false, features = ["zstd"] }
Fails to compile with
format!("{}", dt.format("%Y-%m-%d %H:%M:%S %:z")) | ^^^^^^ method not found in DateTime<Utc>
arrow-rs/parquet/Cargo.toml
Line 41 in 7da41c7
This should not have default-features = false
Originally posted by @zeroflaw in #1623 (comment)
The text was updated successfully, but these errors were encountered: