[ https://issues.apache.org/jira/browse/FLINK-20952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283542#comment-17283542 ]
Harvey Yue commented on FLINK-20952: ------------------------------------ Hi, I'm working this feature, currently, I add all json attributes including debezium, maxwell and canal, also the builder class in JsonOptions. Instead of implementing which DebeziumJsonOptions, CanalJsonOptions and MaxwellJsonOptions inherit JsonOptions, when add a new attribute to JsonOptions, we have no need to touch the builder class in these subclass. If this solution is ok, I will post a pr. > Changelog json formats should support inherit options from JSON format > ---------------------------------------------------------------------- > > Key: FLINK-20952 > URL: https://issues.apache.org/jira/browse/FLINK-20952 > Project: Flink > Issue Type: Improvement > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table > SQL / Ecosystem > Reporter: Jark Wu > Priority: Major > Fix For: 1.13.0 > > > Recently, we introduced several config options for json format, e.g. > FLINK-20861. It reveals a potential problem that adding a small config option > into json may need touch debezium-json, canal-json, maxwell-json formats. > This is verbose and error-prone. We need an abstract machanism support > reuable options. -- This message was sent by Atlassian Jira (v8.3.4#803005)