You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2021/11/08 15:20:41 UTC

[flink] branch master updated (130db38 -> 09b3061)

This is an automated email from the ASF dual-hosted git repository.

twalthr pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git.


    from 130db38  [FLINK-24793][tests] Skip DefaultSchedulerLocalRecoveryITCase when testing AdaptiveScheduler
     add ccfdae3  [hotfix][table-common][tests] Add tests for LogicalTypeMerging decimal rules
     add cb7ca10  [hotfix][table-common] Add java docs to LogicalTypeMerging
     add 09b3061  [FLINK-24691][table-planner] Fix decimal precision for SUM

No new revisions were added by this update.

Summary of changes:
 .../functions/BuiltInFunctionDefinitions.java      |  19 ++++
 ...rategy.java => AggDecimalPlusTypeStrategy.java} |  43 ++++----
 .../strategies/SpecificTypeStrategies.java         |   3 +
 .../types/logical/utils/LogicalTypeMerging.java    |  14 +++
 .../logical/utils/LogicalTypeMergingTest.java      | 109 +++++++++++++++++++++
 .../planner/expressions/ExpressionBuilder.java     |   9 ++
 .../functions/aggfunctions/SumAggFunction.java     |  41 +++++---
 .../table/planner/codegen/ExprCodeGenerator.scala  |   5 +
 .../runtime/stream/sql/AggregateITCase.scala       |  28 ++++++
 .../runtime/stream/table/AggregateITCase.scala     |  23 +++++
 10 files changed, 253 insertions(+), 41 deletions(-)
 copy flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/strategies/{DecimalPlusTypeStrategy.java => AggDecimalPlusTypeStrategy.java} (57%)
 create mode 100644 flink-table/flink-table-common/src/test/java/org/apache/flink/table/types/logical/utils/LogicalTypeMergingTest.java