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/01/02 07:10:20 UTC

[GitHub] [calcite] vlsi commented on a change in pull request #1703: [CALCITE-2450] Normalize RexCall predicates when computing digest

vlsi commented on a change in pull request #1703: [CALCITE-2450] Normalize RexCall predicates when computing digest
URL: https://github.com/apache/calcite/pull/1703#discussion_r362384599
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/rex/RexCall.java
 ##########
 @@ -155,15 +237,15 @@ private static boolean equalSansNullability(RelDataType a, RelDataType b) {
         && x.startsWith(y);
   }
 
-  protected @Nonnull String computeDigest(boolean withType) {
+  protected @Nonnull String computeDigest(boolean withType, boolean withNormalize) {
     final StringBuilder sb = new StringBuilder(op.getName());
 
 Review comment:
   Frankly speaking, I would refrain from extracting configuration classes and making this configurable unless there are clear use cases

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


With regards,
Apache Git Services