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

Decimal types are not checked against max precision/scale at table creation #2331

Closed
ion-elgreco opened this issue Mar 24, 2024 · 0 comments · Fixed by #2332
Closed

Decimal types are not checked against max precision/scale at table creation #2331

ion-elgreco opened this issue Mar 24, 2024 · 0 comments · Fixed by #2332
Assignees
Labels
bug Something isn't working

Comments

@ion-elgreco
Copy link
Collaborator

Environment

We are not checking the max allowed precision/scale during table creation, which could potentially allow users to create tables that do not respect the protocol limitations on decimal types.

Example:
"schemaString": "{\"type\":\"struct\",\"fields\":[{\"name\":\"x\",\"type\":\"decimal(65,64)\",\"nullable\":true,\"metadata\":{}}]}",

@ion-elgreco ion-elgreco added the bug Something isn't working label Mar 24, 2024
@ion-elgreco ion-elgreco self-assigned this Mar 24, 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.

1 participant