You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2019/02/28 16:15:00 UTC
[jira] [Updated] (FLINK-11247) Fix DESCRIBE command to support
catalog tables
[ https://issues.apache.org/jira/browse/FLINK-11247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-11247:
-----------------------------------
Component/s: Connectors / Hive
> 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
> Reporter: Eron Wright
> Assignee: vinoyang
> Priority: Major
>
> 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
(v7.6.3#76005)