Skip to content

Commit

Permalink
Allow writing null valued keys in JSON (#5065)
Browse files Browse the repository at this point in the history
* Allow writing null valued keys in JSON

* Trigger

* Refactor keep nulls to be runtime config

* Rename option

* Rename option
  • Loading branch information
Jefffrey authored Nov 20, 2023
1 parent b724849 commit fbbb61d
Show file tree
Hide file tree
Showing 7 changed files with 461 additions and 66 deletions.
1 change: 0 additions & 1 deletion arrow-array/src/numeric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ mod tests {
let mask = 0b01010101_01010101_10101010_10101010;
let actual = UInt16Type::mask_from_u64(mask);
let expected = expected_mask!(i16, mask);
dbg!(&expected);
let expected = m16x32::from_cast(i16x32::from_slice_unaligned(expected.as_slice()));

assert_eq!(expected, actual);
Expand Down
2 changes: 1 addition & 1 deletion arrow-json/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub type RawReader<R> = Reader<R>;
pub type RawReaderBuilder = ReaderBuilder;

pub use self::reader::{Reader, ReaderBuilder};
pub use self::writer::{ArrayWriter, LineDelimitedWriter, Writer};
pub use self::writer::{ArrayWriter, LineDelimitedWriter, Writer, WriterBuilder};
use half::f16;
use serde_json::{Number, Value};

Expand Down
Loading

0 comments on commit fbbb61d

Please sign in to comment.