zabetak opened a new pull request #2470:
URL: https://github.com/apache/calcite/pull/2470


   1. Add Redshift type system ensuring precision/scale bounds are
   satisfied when casting.
   2. Consider max precision for DECIMAL and CHAR data types in
   SqlDialect#getCastSpec.
   3. Consider max scale for DECIMAL data types in SqlDialect#getCastSpec.
   4. Drop one constructor from RelToSqlConverterTest.Sql to avoid changes
   in multiple places when the fluid interface is extended.
   5. Extend RelToSqlConverterTest.Sql with custom type system to allow
   writting tests with non-default type system (e.g., simulate systems with
   large numeric precision).
   6. Add unit tests casting to DECIMAL, CHAR, VARCHAR, with
   precision/scale exceeding Redshift's bounds.


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