[ 
https://issues.apache.org/jira/browse/FLINK-19563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhengchao Shi updated FLINK-19563:
----------------------------------
    Description: 
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}


  was:
the database and table option in canal-json format,can be combined into one?
like this: database.table


> 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
>    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)

Reply via email to