You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "zoudan (via GitHub)" <gi...@apache.org> on 2023/04/12 03:33:49 UTC

[GitHub] [calcite] zoudan commented on a diff in pull request #3136: [CALCITE-4771] add TRY_CAST function (enabled in MSSQL library)

zoudan commented on code in PR #3136:
URL: https://github.com/apache/calcite/pull/3136#discussion_r1163549028


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -431,48 +431,59 @@ protected SqlOperatorFixture fixture() {
         true);
   }
 
-  /** Tests that CAST and SAFE_CAST are basically equivalent but SAFE_CAST is
-   * only available in BigQuery library. */
-  @Test void testCastVsSafeCast() {

Review Comment:
   Because I want to reuse most of the test code for `CAST` and `SAFE_CAST`, just like what we did in
   https://github.com/apache/calcite/pull/3093



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