IndexSeek opened a new pull request, #1990: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1990
Closes #1923 > Beginning in PostgreSQL 15, it is allowed to declare a numeric column with a negative scale. **Source:** [PostgreSQL Documentation - Numeric Types](https://www.postgresql.org/docs/current/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL) ## Changes - Modified `ExactNumberInfo::PrecisionAndScale` to use `i64` instead of `u64` for scale - Added `parse_scale_value()` method to handle positive, negative, and explicitly positive scale values - Updated tests to cover negative scale scenarios -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org