You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/02/11 16:05:00 UTC

[I] Set default value of parse_float_as_decimal to true [datafusion]

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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Set default value of parse_float_as_decimal to true [datafusion]

Posted by "neilconway (via GitHub)" <gi...@apache.org>.
neilconway commented on issue #14612:
URL: https://github.com/apache/datafusion/issues/14612#issuecomment-4518492181

   take


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Set default value of parse_float_as_decimal to true [datafusion]

Posted by "jatin510 (via GitHub)" <gi...@apache.org>.
jatin510 commented on issue #14612:
URL: https://github.com/apache/datafusion/issues/14612#issuecomment-2651278826

   take


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org