Skip to content

Conversation

@Jefffrey
Copy link
Contributor

Noticed this was missing, meaning would have to do something awkward like:

    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.

@github-actions github-actions bot added the core Core DataFusion crate label Nov 25, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks @Jefffrey

@alamb alamb added this pull request to the merge queue Nov 25, 2025
Merged via the queue into apache:main with commit 7cbb443 Nov 25, 2025
27 checks passed
@Jefffrey Jefffrey deleted the ndjson-infer-config branch November 25, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants