You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "mxm (via GitHub)" <gi...@apache.org> on 2026/04/01 13:35:06 UTC

Re: [PR] Flink: Support table-name as alias for catalog-table in connector opt… [iceberg]

mxm commented on code in PR #15673:
URL: https://github.com/apache/iceberg/pull/15673#discussion_r3022134009


##########
flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/FlinkCreateTableOptions.java:
##########
@@ -61,6 +61,14 @@ private FlinkCreateTableOptions(
           .noDefaultValue()
           .withDescription("Table name managed in the underlying iceberg catalog and database.");
 
+  public static final ConfigOption<String> TABLE_NAME =
+      ConfigOptions.key("table-name")
+          .stringType()
+          .noDefaultValue()
+          .withDescription(
+              "Alias for 'catalog-table'. Table name managed in the underlying iceberg catalog"
+                  + " and database.");

Review Comment:
   Instead of adding a new ConfigOption, we can add "table-name" via `withFallbackKey("table-name")` to the existing `catalog-name` option.



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org