Details
-
Sub-task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently, processing CDC is only supported for streaming mode. However, there is also cases to process CDC data in batch mode. For example, load, materialize and compress CDC data into Hive using parquet format.
Interpreting changelog in batch mode can be supported by adding a MaterializeOperator after the CDC source operator. The MaterializeOperator acts like a HashAggregate and SortAggregate based on whether all the fields are fixed-length. It will consume all the input RowDatas and replace/remove rows depending on the flag in the header.
Attachments
Issue Links
- is related to
-
FLINK-23426 Support changelog processing in batch mode
- Open