andygrove opened a new issue, #14612:
URL: https://github.com/apache/datafusion/issues/14612
### Is your feature request related to a problem or challenge?
According to the ANSI SQL specification, floating point numbers in SQL
should be interpreted as decimals. We currently interpret them as floats:
```
pub struct SqlParserOptions {
/// When set to true, SQL parser will parse float as decimal type
pub parse_float_as_decimal: bool, default = false
```
### Describe the solution you'd like
Set default to true and fix regressions in test suite. This will likely
involve fixing some bugs in type coercion such as
https://github.com/apache/datafusion/issues/14272
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]