[EPIC] change SQL numeric literals from float to decimal
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*)
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Currently DataFusion interprets all non-integer numeric literals as floats, but they should be decimals instead.
This issue
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
List of related issues. Probably all of these should be fixed before the actual switch to decimals is committed.
- [x] #3437
- [x] #3478
- [x] #3479
- [x] #3487
- [x] https://github.com/apache/arrow-datafusion/issues/4072
- [x] #3394
- [x] https://github.com/apache/arrow-datafusion/issues/4103
- [ ] https://github.com/apache/datafusion/issues/14612
Contributor guide
Research direction
This is an EPIC and names no files or tests. Start by reviewing the checked related issues and the remaining #14612, then locate DataFusion’s SQL numeric-literal parsing and typing entry points; done means the listed prerequisites are resolved and non-integer numeric literals consistently use decimals without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100