update dfr to polars 0.30.0 (#9424)

# Description

Update the polars dependency for dataframes to stay on-version.

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# Tests + Formatting
<!--
Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the
standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
This commit is contained in:
Darren Schroeder 2023-06-13 12:05:45 -05:00 committed by GitHub
parent f438ffc6e4
commit cdb7b9d9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 73 deletions

140
Cargo.lock generated
View File

@ -159,9 +159,9 @@ dependencies = [
[[package]]
name = "arrow2"
version = "0.17.1"
version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0f73029049896b3d70ba17756afef171ceef3569016cfa9dbca58d29e0e16f9"
checksum = "15ae0428d69ab31d7b2adad22a752d6f11fef2e901d2262d0cad4f5cb08b7093"
dependencies = [
"ahash 0.8.3",
"arrow-format",
@ -176,8 +176,6 @@ dependencies = [
"futures",
"getrandom 0.2.9",
"hash_hasher",
"indexmap",
"json-deserializer",
"lexical-core",
"lz4",
"multiversion",
@ -1582,7 +1580,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f985624e90f861184145c13b736873a0f83cdb998a292dbb0653598ab03aecbf"
dependencies = [
"hashbrown 0.13.2",
"rustc-hash",
"serde",
]
@ -2005,15 +2002,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "json-deserializer"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f63b421e16eb4100beb677af56f0b4f3a4f08bab74ef2af079ce5bb92c2683f"
dependencies = [
"indexmap",
]
[[package]]
name = "kernel32-sys"
version = "0.2.2"
@ -2697,7 +2685,7 @@ dependencies = [
"percent-encoding",
"reedline",
"rstest",
"sysinfo 0.29.0",
"sysinfo",
"unicode-segmentation",
]
@ -2849,7 +2837,7 @@ dependencies = [
"serde_yaml",
"sha2",
"sqlparser 0.33.0",
"sysinfo 0.29.0",
"sysinfo",
"tabled",
"terminal_size 0.2.6",
"titlecase",
@ -2876,7 +2864,7 @@ dependencies = [
"nu-path",
"nu-protocol",
"nu-utils",
"sysinfo 0.29.0",
"sysinfo",
]
[[package]]
@ -3724,9 +3712,9 @@ dependencies = [
[[package]]
name = "polars"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa52642dac73150dcb6ccea276344b2f3c671912b78187ef917e236010ff72ea"
checksum = "c464be75f4ec8b1a8527a55583f67961e3514f112a99f789476a7ccb9a397d10"
dependencies = [
"getrandom 0.2.9",
"polars-core",
@ -3740,9 +3728,9 @@ dependencies = [
[[package]]
name = "polars-arrow"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d2402d68b447ece4afca6bcac435ff0aa82d70d41c9dd3f0ed249396b41ed5b"
checksum = "4f187a7fd8fbef04d6a810bfd4c181baf584fc4439ec054e0caad4325bf00f95"
dependencies = [
"arrow2",
"hashbrown 0.13.2",
@ -3755,9 +3743,9 @@ dependencies = [
[[package]]
name = "polars-core"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "caa1f5af0505c67333487c1287f29644c172afbab7374e48a77843646064411c"
checksum = "78b7216aa3336fd2a7b5ebfa66748f3770682b28cd682930d1abf59b53b670e0"
dependencies = [
"ahash 0.8.3",
"arrow2",
@ -3787,9 +3775,9 @@ dependencies = [
[[package]]
name = "polars-error"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73c760a2564a930a0b139d08045b7f2a3c0c86ce2668710b44561091d8d1e019"
checksum = "dfb4f020b2b6d12408cca6b081dbd928fef8bbe9cdbba4c88441e61ade33bc2d"
dependencies = [
"arrow2",
"regex",
@ -3798,9 +3786,9 @@ dependencies = [
[[package]]
name = "polars-io"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "940e27258666c1d5d928d8b086a241a7a77bf04f370883aaf6c57ff2e83e13b8"
checksum = "270650704e08bef37d227a6904b36c4bdad2d013536ea3c57f40007c19ad2ebc"
dependencies = [
"ahash 0.8.3",
"arrow2",
@ -3819,6 +3807,7 @@ dependencies = [
"polars-arrow",
"polars-core",
"polars-error",
"polars-json",
"polars-time",
"polars-utils",
"rayon",
@ -3831,10 +3820,28 @@ dependencies = [
]
[[package]]
name = "polars-lazy"
version = "0.29.0"
name = "polars-json"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e01ffc3402e9ad40f72d7b8baff7f05fcd12ecd8d19596084bfaa76d9c4e540e"
checksum = "7370203bca4ee29da6da4210200894eea6abf81d7c430e192159dabcba8441a4"
dependencies = [
"ahash 0.8.3",
"arrow2",
"fallible-streaming-iterator",
"hashbrown 0.13.2",
"indexmap",
"num-traits",
"polars-arrow",
"polars-error",
"polars-utils",
"simd-json",
]
[[package]]
name = "polars-lazy"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2a8fe41263496b5212098f19d0cdddc11f75c71957a09d2ce300a8fdb4407e3"
dependencies = [
"ahash 0.8.3",
"bitflags 1.3.2",
@ -3843,6 +3850,7 @@ dependencies = [
"polars-arrow",
"polars-core",
"polars-io",
"polars-json",
"polars-ops",
"polars-pipe",
"polars-plan",
@ -3854,9 +3862,9 @@ dependencies = [
[[package]]
name = "polars-ops"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "192e1871522f2c5b1161f7a51432f27389da751132dc3a472ac77ca213186ae1"
checksum = "d63c31565b88f31457abafb224166fdc0824bf2954414f0c5c52b31c09189942"
dependencies = [
"argminmax",
"arrow2",
@ -3871,9 +3879,9 @@ dependencies = [
[[package]]
name = "polars-pipe"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d523fe77338a05266884210633f7bd372214cf7277cbf1d7f8133ab2a11978d9"
checksum = "51076665e7e45f536a2f080763db040e38eab9fdb1cd927b93428720ba23c46a"
dependencies = [
"enum_dispatch",
"hashbrown 0.13.2",
@ -3891,9 +3899,9 @@ dependencies = [
[[package]]
name = "polars-plan"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7354206859d61710cf85529609ac39885907618bd8160f24ced92112aa36ada5"
checksum = "8a7d0f48bdd7fa9474f718ecb99fc12d97671933707091a249bb0da96b30f291"
dependencies = [
"ahash 0.8.3",
"arrow2",
@ -3912,9 +3920,9 @@ dependencies = [
[[package]]
name = "polars-row"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbe1bda56117570fc1efd79b23fe40ab2375939387c6aaa048d181f0c14fb6b8"
checksum = "b18fa58195b88fdd32c98561cbeff4024b106cdd2a8c975e7d06544324d0e4d1"
dependencies = [
"arrow2",
"polars-error",
@ -3923,9 +3931,9 @@ dependencies = [
[[package]]
name = "polars-sql"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9520f4e3b7c856f2ea1fc3193b8b7232b82c697b7e1e8098b572bbdb7b007292"
checksum = "8485d0c9664e67123b065c8a7c946a0165b0192c05c24cdcde447b1c9e05c7e5"
dependencies = [
"polars-arrow",
"polars-core",
@ -3933,14 +3941,14 @@ dependencies = [
"polars-plan",
"serde",
"serde_json",
"sqlparser 0.30.0",
"sqlparser 0.34.0",
]
[[package]]
name = "polars-time"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7406b06f575e8c6e9cc28b97112fd37424262f5eacf3cc95c110381c82ad2dfe"
checksum = "5c0d11ef8a93b2d204a60da7099510c40fe1ac04d95022ae4daa39df31b345e1"
dependencies = [
"arrow2",
"atoi",
@ -3958,14 +3966,16 @@ dependencies = [
[[package]]
name = "polars-utils"
version = "0.29.0"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1719b022df1b19866b3021ca8c4c1acf860b853f5fc17388e91c8f41064974dc"
checksum = "145a59f928f8317fcf543407ef1b83e827448462e05e2fc6444162fcec84386a"
dependencies = [
"ahash 0.8.3",
"hashbrown 0.13.2",
"once_cell",
"rayon",
"smartstring",
"sysinfo 0.28.4",
"sysinfo",
]
[[package]]
@ -4827,12 +4837,14 @@ dependencies = [
[[package]]
name = "simd-json"
version = "0.9.2"
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbb0157804d962d743f114497a9188fa8b6f9a201faf77ce49454d9e0e61b316"
checksum = "a3d0815e7ff0f1f05e09d4b029f86d8a330f0ab15b35b28736f3758325f59e14"
dependencies = [
"ahash 0.8.3",
"halfbrown",
"lexical-core",
"once_cell",
"serde",
"serde_json",
"simdutf8",
@ -4926,15 +4938,6 @@ dependencies = [
"lock_api",
]
[[package]]
name = "sqlparser"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db67dc6ef36edb658196c3fef0464a80b53dbbc194a904e81f9bd4190f9ecc5b"
dependencies = [
"log",
]
[[package]]
name = "sqlparser"
version = "0.33.0"
@ -4945,6 +4948,15 @@ dependencies = [
"serde",
]
[[package]]
name = "sqlparser"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d3706eefb17039056234df6b566b0014f303f867f2656108334a55b8096f59"
dependencies = [
"log",
]
[[package]]
name = "stable_deref_trait"
version = "1.2.0"
@ -5113,20 +5125,6 @@ dependencies = [
"windows-sys 0.45.0",
]
[[package]]
name = "sysinfo"
version = "0.28.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys",
"libc",
"ntapi",
"once_cell",
"winapi 0.3.9",
]
[[package]]
name = "sysinfo"
version = "0.29.0"

View File

@ -59,7 +59,7 @@ features = [
"to_dummies",
]
optional = true
version = "0.29.0"
version = "0.30.0"
[features]
dataframe = ["default"]

View File

@ -148,7 +148,6 @@ fn command(
TimeUnit::Nanoseconds,
false,
false,
true,
None,
)
};