Skip to content

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

Closed
@ion-elgreco

Description

@ion-elgreco

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\":{}}]}",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions