Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue found on page 'Loading JSON': auto_detect parameter of read_json and read_json_auto defaults to true rather than false #4365

Open
rpbouman opened this issue Dec 15, 2024 · 0 comments

Comments

@rpbouman
Copy link
Contributor

In the subsection on "Parameters" for the section "Functions for Reading JSON as a Table"(https://duckdb.org/docs/data/json/loading_json#parameters-1), it reads:

auto_detect | Whether to auto-detect the names of the keys and data types of the values automatically | BOOL | false

However, if we call either read_json() or read_json_auto(), it is pretty clear that it does auto detect the schema even if we don't pass the parameter. So the documentation should correct that and say its default is true rather than false.

Page URL: https://duckdb.org/docs/data/json/loading_json#parameters-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant