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 integer types #4762

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

[FEA] Improve support for reading JSON integer types #4762

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

Comments

@andygrove
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Reading integer 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 ByteType then I see the following results:

CPU

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

GPU

+------+
|number|
+------+
|    -3|
|     3|
|     0|
|     0|
|    -3|
|    -3|
|    -3|
|    -3|
+------+

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 added this to the Feb 14 - Feb 25 milestone Feb 11, 2022
@andygrove andygrove self-assigned this Feb 11, 2022
@andygrove andygrove linked a pull request Feb 15, 2022 that will close this issue
4 tasks
@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