nushell/crates/nu_plugin_polars
Jack Wright 803bc9c63f
Incrementing the eager dataframe cache value before returning it (#13624)
# Description

Fixes issue [12828](https://github.com/nushell/nushell/issues/12828).

When attempting a `polars collect` on an eager dataframe, we return
dataframe as is. However, before this fix I failed to increment the
internal cache reference count. This caused the value to be dropped from
the internal cache when the references were decremented again.

This fix adds a call to cache.get to increment the value before
returning.
2024-08-14 15:38:46 -05:00
..
src Incrementing the eager dataframe cache value before returning it (#13624) 2024-08-14 15:38:46 -05:00
Cargo.toml Bump indexmap from 2.3.0 to 2.4.0 (#13617) 2024-08-14 15:21:39 +08:00
LICENSE Move dataframes support to a plugin (#12220) 2024-04-09 19:31:43 -05:00