dybyte commented on code in PR #10370:
URL: https://github.com/apache/seatunnel/pull/10370#discussion_r2711290822
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/options/table/CatalogOptions.java:
##########
@@ -59,11 +59,16 @@ public interface CatalogOptions {
"The table names RegEx of the database to capture."
+ "The table name needs to include the
database name, for example: database_.*\\.table_.*");
+ /**
+ * This parameter is deprecated, please use parameter:
TableSchemaOptions.TABLE_CONFIGS. {@link
+ * org.apache.seatunnel.api.options.table.TableSchemaOptions}
+ */
+ @Deprecated
Option<List<Map<String, Object>>> TABLE_LIST =
Options.key("table_list")
.type(new TypeReference<List<Map<String, Object>>>() {})
.noDefaultValue()
.withDescription(
- "SeaTunnel Multi Table Schema, acts on structed
data sources. "
+ "This parameter is deprecated, please use
parameter: TableSchemaOptions.TABLE_CONFIGS.SeaTunnel Multi Table Schema, acts
on structed data sources. "
+ "such as jdbc, paimon, doris, etc");
Review Comment:
> If new non-relational components are introduced later, TABLE_LIST is not
allowed to be used;
it would be helpful to update the description of `TABLE_CONFIGS` to reflect
this as well.
--
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]