apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.43k stars 954 forks source link

[flink] Support updating row type nested in array/map in Flink #4528

Closed tsreaper closed 1 week ago

tsreaper commented 1 week ago

Purpose

This PR supports updating row type nested in array/map in Flink. For example, we can update a field of type ARRAY<MAP<INT, ROW<f1 INT, f2 DOUBLE>>> to type ARRAY<MAP<INT, ROW<f3 STRING, f1 INT>>> with the ALTER TABLE SQL.

Tests

Unit tests and IT cases.

API and Format

No format changes.

Documentation

Document will be added later.