This is an automated email from the ASF dual-hosted git repository.
RocMarshal pushed a change to branch release-2.4
in repository https://gitbox.apache.org/repos/asf/flink.git
from 4ca6fb1c99c [BP-2.4][FLINK-41086][table] Return NULL from
`JSON_LENGTH` and `JSON_TYPE` when a JSON path function fails (#29805)
new 2767ecfe450 [FLINK-40319][table] Allow CAST from a VARIANT string
value to BINARY and VARBINARY
new d545d196f74 [FLINK-41301][table] Throw TableRuntimeException for every
failed cast from 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 | 1 +
docs/content/docs/sql/reference/data-types.md | 1 +
.../table/data/utils/FromVariantConverter.java | 34 +++++++--
.../flink/table/data/utils/VariantCastUtils.java | 39 ++++++++--
.../table/data/utils/FromVariantConverterTest.java | 83 ++++++++++++++++++++++
.../functions/casting/FromVariantCastRule.java | 6 +-
.../planner/functions/CastFunctionITCase.java | 43 ++++++++++-
.../planner/functions/casting/CastRulesTest.java | 3 +-
8 files changed, 198 insertions(+), 12 deletions(-)