Skip to content

optimize decimal: reduce validation when construct the decimal array or cast to the decimal array #2313

@liukun4515

Description

@liukun4515

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

When we use the ballista/datafusion to execute some query( the table has may decimal data type), and perf the cpu.

The validation of decimal cost a lot of cpu about 5% from below picture.

image

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

enhancementAny new improvement worthy of a entry in the changelog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions