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

[BUG] JsonToStructs should reject float numbers for integer types #10460

Closed
revans2 opened this issue Feb 21, 2024 · 0 comments · Fixed by #10542
Closed

[BUG] JsonToStructs should reject float numbers for integer types #10460

revans2 opened this issue Feb 21, 2024 · 0 comments · Fixed by #10542
Labels
bug Something isn't working

Comments

@revans2
Copy link
Collaborator

revans2 commented Feb 21, 2024

Describe the bug
{"int": 1.0} when read as an integer type, like ByteType, ShortType, IntegerType, and LongType is returned as null. Our code is not consistent in this. JsonToStructs does not fix this up at all but it looks like ScanJson is doing something for this.

@revans2 revans2 added bug Something isn't working ? - Needs Triage Need team to review and classify labels Feb 21, 2024
@revans2 revans2 mentioned this issue Feb 26, 2024
62 tasks
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants