[ https://issues.apache.org/jira/browse/FLINK-19563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211605#comment-17211605 ]
Zhengchao Shi commented on FLINK-19563: --------------------------------------- thanks [~jark], i got it. > database and table,two option can be combined into one > ------------------------------------------------------ > > Key: FLINK-19563 > URL: https://issues.apache.org/jira/browse/FLINK-19563 > Project: Flink > Issue Type: Improvement > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > Affects Versions: 1.12.0 > Reporter: Zhengchao Shi > Priority: Major > Fix For: 1.12.0 > > > the database and table option in canal-json format,can be combined into one? > like this: database.table. > there is only one comparison statement, and it is convenient to provide > regular expressions later > {code:java} > if (table != null) { > String currentDatabase = row.getString(3).toString(); > String currentTable = row.getString(4).toString(); > if (!table.equals(currentDatabase + "." + currentTable)) { > return; > } > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)