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 69b9cbb14c7 [FLINK-40909][table-planner] Support filter push down for 
element access on ARRAY, MAP and VARIANT
     new 374289707dc [FLINK-40911][core] Fix two bugs in the variant builder
     new 65d94e746ee [FLINK-40826][table] Cast primitives to VARIANT through 
ToVariantConverter
     new 140140a88fb [FLINK-40826][table] Support casting ARRAY, MAP, ROW and 
STRUCTURED to VARIANT

The 3 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/docs/sql/reference/data-types.md      |  50 +-
 .../variant/BinaryVariantInternalBuilder.java      |  13 +-
 .../variant/BinaryVariantInternalBuilderTest.java  |  46 ++
 .../flink/table/data/binary/StringUtf8Utils.java   |  20 +
 .../flink/table/data/utils/ToVariantConverter.java | 403 +++++++++++++++
 .../types/logical/utils/LogicalTypeCasts.java      |  17 +
 .../table/data/binary/StringUtf8UtilsTest.java     |  20 +
 .../table/data/utils/ToVariantConverterTest.java   | 557 +++++++++++++++++++++
 .../flink/table/types/LogicalTypeCastsTest.java    |  64 ++-
 .../casting/AbstractCodeGeneratorCastRule.java     |  56 +--
 .../AbstractExpressionCodeGeneratorCastRule.java   |   6 +
 .../functions/casting/CastRuleProvider.java        |   2 +-
 .../planner/functions/casting/CastRuleUtils.java   |   2 +-
 .../functions/casting/CodeGeneratorCastRule.java   |   9 +
 .../casting/PrimitiveToVariantCastRule.java        | 179 -------
 .../functions/casting/ToVariantCastRule.java       | 176 +++++++
 .../planner/codegen/calls/ScalarOperatorGens.scala |   2 +
 .../planner/functions/CastFunctionITCase.java      | 191 ++++++-
 .../functions/casting/CastRuleProviderTest.java    |  65 ++-
 .../planner/functions/casting/CastRulesTest.java   | 102 +++-
 .../table/runtime/functions/VariantCastUtils.java  | 198 +-------
 .../runtime/functions/VariantCastUtilsTest.java    | 169 -------
 22 files changed, 1745 insertions(+), 602 deletions(-)
 create mode 100644 
flink-table/flink-table-common/src/main/java/org/apache/flink/table/data/utils/ToVariantConverter.java
 create mode 100644 
flink-table/flink-table-common/src/test/java/org/apache/flink/table/data/utils/ToVariantConverterTest.java
 delete mode 100644 
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/PrimitiveToVariantCastRule.java
 create mode 100644 
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/ToVariantCastRule.java

Reply via email to