[
https://issues.apache.org/jira/browse/IMPALA-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaomeng Zhang reassigned IMPALA-9325:
--------------------------------------
Assignee: Xiaomeng Zhang (was: Vihang Karajgaonkar)
> 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: Xiaomeng Zhang
> Priority: Minor
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]