This is an automated email from the ASF dual-hosted git repository.
AHeise pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from 72bcee7aee1 [FLINK-40815][configuration] Remove the deprecated
configuration keys from the flink-dstl-dfs module.
new 3193e71ae5d [FLINK-40825][table] Keep a stored NaN or infinity when
casting VARIANT to FLOAT or DOUBLE
new e785c495e43 [FLINK-40825][table] Support casting primitive types to
VARIANT
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/content.zh/docs/sql/reference/data-types.md | 87 +++++--
docs/content/docs/sql/reference/data-types.md | 87 +++++--
.../types/logical/utils/LogicalTypeCasts.java | 27 ++
.../flink/table/types/LogicalTypeCastsTest.java | 69 ++++-
.../apache/calcite/sql/fun/SqlCastFunction.java | 14 +-
.../functions/casting/CastRuleProvider.java | 1 +
.../casting/PrimitiveToVariantCastRule.java | 179 +++++++++++++
.../planner/functions/CastFunctionITCase.java | 277 +++++++++++++++++++++
.../functions/casting/CastRuleProviderTest.java | 73 ++++++
.../planner/functions/casting/CastRulesTest.java | 187 ++++++++++++++
.../table/runtime/functions/VariantCastUtils.java | 166 +++++++++++-
.../runtime/functions/VariantCastUtilsTest.java | 27 ++
12 files changed, 1137 insertions(+), 57 deletions(-)
create mode 100644
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/PrimitiveToVariantCastRule.java