You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/08/05 07:51:00 UTC

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

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)