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

[FEA] Improve support for reading JSON boolean types #4763

Closed
andygrove opened this issue Feb 11, 2022 · 0 comments · Fixed by #4780
Closed

[FEA] Improve support for reading JSON boolean types #4763

andygrove opened this issue Feb 11, 2022 · 0 comments · Fixed by #4780
Assignees
Labels
feature request New feature or request

Comments

@andygrove
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Reading boolean types from JSON is inconsistent with Spark. For example, if I read the integration_tests/src/test/resources/floats.json test file with a schema specifying BooleanType then I see the following results:

CPU

+------+
|number|
+------+
|  null|
|  null|
|  null|
|  null|
|  null|
|  null|
|  null|
|  null|
+------+

GPU

+------+
|number|
+------+
|  true|
|  true|
| false|
| false|
|  true|
|  true|
|  true|
|  true|
+------+

Describe the solution you'd like
Results should match

Describe alternatives you've considered
None

Additional context
None

@andygrove andygrove added feature request New feature or request ? - Needs Triage Need team to review and classify labels Feb 11, 2022
@andygrove andygrove self-assigned this Feb 11, 2022
@andygrove andygrove added this to the Feb 14 - Feb 25 milestone Feb 11, 2022
@andygrove andygrove linked a pull request Feb 15, 2022 that will close this issue
@sameerz sameerz removed the ? - Needs Triage Need team to review and classify label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants