comphead commented on issue #7121:
URL: 
https://github.com/apache/arrow-datafusion/issues/7121#issuecomment-1655997087

   Thanks @Dandandan 
   
   ```
   ❯ set datafusion.sql_parser.parse_float_as_decimal=true;
   
   ❯ select cast(6.4053151420411946063694043751862251568 as decimal(38,37)) + 1;
   +---------------------------------------------------------------------------+
   | Decimal128(Some(64053151420411946063694043751862251568),38,37) + Int64(1) |
   +---------------------------------------------------------------------------+
   | 7.4053151420411946063694043751862251568                                   |
   +---------------------------------------------------------------------------+
   ```
   
   


-- 
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]

Reply via email to