[
https://issues.apache.org/jira/browse/FLINK-11247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingsong Lee closed FLINK-11247.
--------------------------------
Resolution: Invalid
> Fix DESCRIBE command to support catalog tables
> ----------------------------------------------
>
> Key: FLINK-11247
> URL: https://issues.apache.org/jira/browse/FLINK-11247
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive, Table SQL / Client
> Reporter: Eron Wright
> Assignee: vinoyang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When the {{DESCRIBE}} command is applied to a catalog table, it fails with an
> error:
> {code}
> Flink SQL> DESCRIBE nyc.TaxiRides;
>
>
> [ERROR] Could not execute SQL statement. Reason:
>
>
> org.apache.flink.table.api.TableException: Table 'nyc.TaxiRides' was not
> found.
> {code}
> The reason appears to be that {{LocalExecutor}} calls
> {{TableEnvironment::scan}} with the fully-qualified table name as a parameter
> (e.g. {{scan("nyc.TaxiRides")}}) rather than with an array of components
> (e.g. {{scan("nyc", "TaxiRides")}}).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)