jorgecarleitao / arrow2

Transmute-free Rust library to work with the Arrow format
Apache License 2.0
1.07k stars 220 forks source link

not yet implemented: Writing Null to JSON #1504

Closed zubakskees closed 1 year ago

zubakskees commented 1 year ago

Got this while using Polars write_json on a DataFrame with some null values:

thread '<unnamed>' panicked at 'not yet implemented: Writing Null to JSON', /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow2-0.17.2/src/io/json/write/serialize.rs:379:18

Strikes me as strange null wouldn't be supported.

zubakskees commented 1 year ago

Looks like it does write null under some circumstances, but maybe not in the way Polars passes it? I'm going to open an issue there, too.

zubakskees commented 1 year ago

Unable to reproduce in a small example, so something's weird with my data.