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 2020/09/30 03:48:46 UTC

[GitHub] [calcite] docete opened a new pull request #2184: [CALCITE-4295] The minMin function of CompositeOperandTypeChecker sho…

docete opened a new pull request #2184:
URL: https://github.com/apache/calcite/pull/2184


   …uld returns the minimum of lower bound of all SqlOperandCountRange
   
   Composite of two checker with SqlOperandCountRange throws IllegalArgumentException. This PR will fix it.


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

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



[GitHub] [calcite] rubenada commented on a change in pull request #2184: [CALCITE-4295] The minMin function of CompositeOperandTypeChecker sho…

Posted by GitBox <gi...@apache.org>.
rubenada commented on a change in pull request #2184:
URL: https://github.com/apache/calcite/pull/2184#discussion_r497296010



##########
File path: core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java
##########
@@ -4048,6 +4048,18 @@ private Tester getExtendedTester() {
     sql(sql).trim(true).ok();
   }
 
+  /**
+   * Test case for
+   * <a href="https://issues.apache.org/jira/browse/CALCITE-4295">[CALCITE-4295]
+   * Composite of two checker with SqlOperandCountRange throws IllegalArgumentException</a>.

Review comment:
       The title in the comment reflects the "old" title of the ticket, could it be updated?




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

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



[GitHub] [calcite] rubenada commented on pull request #2184: [CALCITE-4295] The minMin function of CompositeOperandTypeChecker sho…

Posted by GitBox <gi...@apache.org>.
rubenada commented on pull request #2184:
URL: https://github.com/apache/calcite/pull/2184#issuecomment-701214514


   @docete Could you please fix the grammar in the commit message (and title in Jira), e.g. something like: "The minMin function of CompositeOperandTypeChecker should return the minimum lower bound of all SqlOperandCountRange"
   Also, please make sure that you squash all commits into a single one, and you add your name between parenthesis at the end of the commit message. I think we could squeeze this into next version 1.26 coming soon. Thanks


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

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



[GitHub] [calcite] rubenada merged pull request #2184: [CALCITE-4295] Composite of two checkers with SqlOperandCountRange throws IllegalArgumentException

Posted by GitBox <gi...@apache.org>.
rubenada merged pull request #2184:
URL: https://github.com/apache/calcite/pull/2184


   


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

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



[GitHub] [calcite] docete commented on pull request #2184: [CALCITE-4295] Composite of two checkers with SqlOperandCountRange throws IllegalArgumentException

Posted by GitBox <gi...@apache.org>.
docete commented on pull request #2184:
URL: https://github.com/apache/calcite/pull/2184#issuecomment-701236433


   @rubenada I updated the JIRA ticket and commit message. 


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

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



[GitHub] [calcite] rubenada commented on pull request #2184: [CALCITE-4295] Composite of two checkers with SqlOperandCountRange throws IllegalArgumentException

Posted by GitBox <gi...@apache.org>.
rubenada commented on pull request #2184:
URL: https://github.com/apache/calcite/pull/2184#issuecomment-701235958


   Thanks @docete . The patch LGTM
   @danny0405 I saw you comment in the Jira ticket, could you please take a look at this PR?


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

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



[GitHub] [calcite] docete commented on a change in pull request #2184: [CALCITE-4295] The minMin function of CompositeOperandTypeChecker sho…

Posted by GitBox <gi...@apache.org>.
docete commented on a change in pull request #2184:
URL: https://github.com/apache/calcite/pull/2184#discussion_r497314056



##########
File path: core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java
##########
@@ -4048,6 +4048,18 @@ private Tester getExtendedTester() {
     sql(sql).trim(true).ok();
   }
 
+  /**
+   * Test case for
+   * <a href="https://issues.apache.org/jira/browse/CALCITE-4295">[CALCITE-4295]
+   * Composite of two checker with SqlOperandCountRange throws IllegalArgumentException</a>.

Review comment:
       updated the jira ticket.




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

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