Skip to content

Commit

Permalink
Fix "dump_ndjson" by activating "timezones" feature (#981)
Browse files Browse the repository at this point in the history
This is an internal feature from the "polars-json" crate that is not
activated with the "timezones" feature - a problem in Polars.
We should rollback when it gets fixed upstream.
  • Loading branch information
philss authored Sep 9, 2024
1 parent ffcb2e6 commit 48b1f0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions native/explorer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions native/explorer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ features = [
version = "0.42"
features = ["abs", "ewma", "cum_agg", "cov"]

# This dep is only needed to activate "timezones" feature
# for the polars-json crate. We should remove when Polars fixes it.
[dependencies.polars-json]
version = "*"
features = ["timezones", "chrono-tz"]

[features]
default = ["ndjson", "cloud", "nif_version_2_15"]

Expand Down

0 comments on commit 48b1f0b

Please sign in to comment.