You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2021/07/29 12:23:57 UTC

[GitHub] [calcite] zabetak opened a new pull request #2470: [CALCITE-4706] JDBC adapter generates casts exceeding Redshift's data types bounds

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: commits-unsubscribe@calcite.apache.org

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



[GitHub] [calcite] zabetak closed pull request #2470: [CALCITE-4706] JDBC adapter generates casts exceeding Redshift's data types bounds

Posted by GitBox <gi...@apache.org>.
zabetak closed pull request #2470:
URL: https://github.com/apache/calcite/pull/2470


   


-- 
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: commits-unsubscribe@calcite.apache.org

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