p-eye opened a new issue, #10453:
URL: https://github.com/apache/paimon/issues/10453

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   `including_tables` / `excluding_tables` of `compact_database` must match the 
whole `databaseName.tableName`.
   A short-name pattern such as `table_*` matches no table, and only divided 
mode reports it (2.0.0 and master):
   
   - divided: fails with `no tables to be compacted ...`
   - combined, batch: finishes successfully without compacting anything
   - combined, streaming: keeps running without compacting anything, with no 
log above DEBUG
   
   The Flink docs example used this form with `mode => 'combined'` (see #10452 
).
   
   ### Solution
   
   1. combined, batch: fail at build time when no table matches, as divided 
does. Is there a reason to keep finishing successfully in this case?
   2. combined, streaming: log a WARN from the source when no table matches, 
mentioning the `databaseName.tableName` format. Keep running, because a 
streming job may start before its tables are created.
   3. divided: mention the `databaseName.tableName` format in the error message.
   
   ### Anything else?
   
   makes a combined batch job with no matching table fail instead of finishing.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to