[ 
https://issues.apache.org/jira/browse/FLINK-20385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260324#comment-17260324
 ] 

wangfei commented on FLINK-20385:
---------------------------------

我发现了一个bug 在canal代码,在使用时候 配置’canal-json.table.include’ 并不能正确的过滤掉指定表的binlog 
,在解析那步会报错,比如 我想读取 canal-json.table.include = 'a' 表的binlog,a表有一个source字段为int类型, 
但是这个时候如果b表也有source字段,但是source字段是string类型,这个时候b的source存了一个非int的数据,这个时候会报错。

> Allow to read metadata for Canal-json format
> --------------------------------------------
>
>                 Key: FLINK-20385
>                 URL: https://issues.apache.org/jira/browse/FLINK-20385
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table 
> SQL / API
>            Reporter: Leonard Xu
>            Assignee: Nicholas Jiang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>         Attachments: image-2021-01-07-16-56-37-330.png
>
>
> In FLIP-107, we support read meta from CDC format Debezium, Canal-json is also
> another widely used CDC format , we need to support read metadata too.
>  
> The requirement comes from user-zh mail list, the user want to read meta 
> information(database table name) from Canal-json.
> [1] [http://apache-flink.147419.n8.nabble.com/canal-json-tt8939.html]



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

Reply via email to