jonahgao commented on issue #12817:
URL: https://github.com/apache/datafusion/issues/12817#issuecomment-2401646674
Makse sense to me. We should support scientific notation before this.
```sh
DataFusion CLI v42.0.0
> set datafusion.sql_parser.parse_float_as_decimal=true;
0 row(s) fetched.
Elapsed 0.001 seconds.
> select 1.1e10;
SQL error: ParserError("Cannot parse 11e10 as i128 when building decimal:
invalid digit found in string")
```
Instead of parsing manually, I think we can use libraries like BigDecimal.
--
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]