You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Vihang Karajgaonkar (Jira)" <ji...@apache.org> on 2020/01/24 01:06:00 UTC
[jira] [Created] (IMPALA-9325) Describe statement fails if its a
Hive Materialized view
Vihang Karajgaonkar created IMPALA-9325:
-------------------------------------------
Summary: Describe statement fails if its a Hive Materialized view
Key: IMPALA-9325
URL: https://issues.apache.org/jira/browse/IMPALA-9325
Project: IMPALA
Issue Type: Bug
Affects Versions: Impala 3.4.0
Reporter: Vihang Karajgaonkar
Assignee: Vihang Karajgaonkar
Based on what I see here [https://github.com/apache/impala/blob/master/fe/src/compat-hive-3/java/org/apache/impala/compat/MetastoreShim.java#L349] Impala treats Hive's materialized views as views.
However, when we issue describe statement on a materialized in catalog-v2 mode (--use-local-catalog=true) we see the following exception:
Error: LocalCatalogException: Could not load partition names for table default.mv3 CAUSED BY: TException: Invalid response from catalogd for request TGetPartialCatalogObjectRequest(protocol_version:V1, object_desc:TCatalogObject(type:TABLE, catalog_version:16, table:TTable(db_name:default, tbl_name:mv3)), table_info_selector:TTableInfoSelector(want_hms_table:false, want_partition_names:true, want_partition_metadata:false, want_partition_files:false, want_partition_stats:false, want_table_constraints:false)): missing partition list result
We should either have a more user-friendly error message are treat it as a View until we add a full support to materialized views.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)