Skip to content

Add a new Decimal data type #2081

@stonesmi

Description

@stonesmi

Feature Request

Description of Problem:

The default Javascript serializer can only handle numbers that fit inside a java.lang.Double.

We need a new column type that explicitly flags to the UI that the number therein will not fit inside a Double.

Potential Solutions:

Add a new ScaledDecimal type that stores a floating point number inside a Long, multiplied by a given scale.

We will send this value to the UI wrapped inside a String, so that the UI can do post processing into a JavaScript BigInt.

We also need to start wrapping the java.lang.Long values in quotes for the same reason.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions