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/12/01 11:16:10 UTC
[flink] branch master updated (183d320 -> 91efbc2)
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 183d320 [FLINK-25093][tests] Refactor test to use retry function for cloning Flink docker repo
add 91efbc2 [FLINK-24902][table-planner] Port integer numeric -> boolean and boolean -> numeric to CastRule
No new revisions were added by this update.
Summary of changes:
.../casting/BooleanToNumericCastRule.java | 101 +++++++++++++++++++++
.../functions/casting/CastRuleProvider.java | 75 +++++++--------
...e.java => IntegerNumericToBooleanCastRule.java} | 21 ++---
.../planner/codegen/calls/BuiltInMethods.scala | 4 +
.../planner/codegen/calls/ScalarOperatorGens.scala | 23 -----
.../planner/functions/casting/CastRulesTest.java | 45 +++++++--
.../apache/flink/table/data/DecimalDataUtils.java | 8 --
.../apache/flink/table/data/DecimalDataTest.java | 4 -
8 files changed, 190 insertions(+), 91 deletions(-)
create mode 100644 flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/BooleanToNumericCastRule.java
copy flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/{StringToBinaryCastRule.java => IntegerNumericToBooleanCastRule.java} (67%)