Commit 7cbb443
authored
minor: add builder setting
Noticed this was missing, meaning would have to do something awkward
like:
```rust
ctx.read_json(
"/Users/jeffrey/Downloads/a.json",
NdJsonReadOptions {
schema_infer_max_records: 2,
..Default::default()
},
)
.await?
.show()
.await?;
```
Add this builder method to be consistent with the other options and be
more ergonomic to use.NdJsonReadOptions::schema_infer_max_records (#18920)1 parent 3ba7350 commit 7cbb443
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
526 | 532 | | |
527 | 533 | | |
528 | 534 | | |
| |||
0 commit comments