[jira] [Created] (FLINK-18825) Support to process CDC message in batch mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18825) Support to process CDC message in batch mode

Shang Yuanchun (Jira)
Jark Wu created FLINK-18825:
-------------------------------

             Summary: Support to process CDC message in batch mode
                 Key: FLINK-18825
                 URL: https://issues.apache.org/jira/browse/FLINK-18825
             Project: Flink
          Issue Type: Sub-task
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table SQL / Ecosystem
            Reporter: Jark Wu


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)