You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/08/05 11:42:00 UTC
[jira] [Updated] (FLINK-38192) Improve DynamicSourceUtils exception msg
[ https://issues.apache.org/jira/browse/FLINK-38192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-38192:
-----------------------------------
Labels: pull-request-available (was: )
> Improve DynamicSourceUtils exception msg
> ----------------------------------------
>
> Key: FLINK-38192
> URL: https://issues.apache.org/jira/browse/FLINK-38192
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: Cai Liuyang
> Priority: Not a Priority
> Labels: pull-request-available
>
> If DynamicTableSource doesn't impl the interface of SupportsReadingMetadata, it will throw an exception with msg like: "Table 'xxx' declares metadata columns, but the underlying DynamicTableSource doesn't implement the SupportsReadingMetadata interface. Therefore, metadata cannot be read from the given source. ",see code:[DynamicSourceUtils#validateAndApplyMetadata|https://github.com/apache/flink/blob/master/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/connectors/DynamicSourceUtils.java#L442]
>
> maybe we can print DynamicTableSource's real class name rather than DynamicTableSource to provide more information
--
This message was sent by Atlassian Jira
(v8.20.10#820010)