We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Such scenario produces JsonError("Expected object json type, found: Any")
JsonError("Expected object json type, found: Any")
To Reproduce
#[test] fn test_infer_from_null_then_object() { let data = r#" {"obj":null} {"obj":{"foo":1}} "#; let (inferred_schema, _) = infer_json_schema_from_seekable(Cursor::new(data), None).expect("infer"); }
Expected behavior Schema should be inferred and have struct data type for obj field
obj
Additional context arrow-rs master / v49.0.0
The text was updated successfully, but these errors were encountered:
label_issue.py automatically added labels {'arrow'} from #5216
label_issue.py
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Such scenario produces
JsonError("Expected object json type, found: Any")
To Reproduce
Expected behavior
Schema should be inferred and have struct data type for
obj
fieldAdditional context
arrow-rs master / v49.0.0
The text was updated successfully, but these errors were encountered: