laurentgo commented on a change in pull request #1311: [CALCITE-3187] Make 
decimal type inference overridable
URL: https://github.com/apache/calcite/pull/1311#discussion_r303747199
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/rel/type/RelDataTypeSystem.java
 ##########
 @@ -100,6 +101,214 @@ RelDataType deriveCovarType(RelDataTypeFactory 
typeFactory,
   /** Whether the least restrictive type of a number of CHAR types of different
    * lengths should be a VARCHAR type. And similarly BINARY to VARBINARY. */
   boolean shouldConvertRaggedUnionTypesToVarying();
+
+  /**
+   * Infers the return type of a decimal addition. Decimal addition involves
+   * at least one decimal operand and requires both operands to have exact
+   * numeric types.
+   *
+   * @param type1 type of the first operand
 
 Review comment:
   (javadoc) missing description for `typeFactory`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to