You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/06/24 09:33:00 UTC

[jira] [Updated] (IMPALA-9325) Describe statement fails if its a Hive Materialized view

     [ https://issues.apache.org/jira/browse/IMPALA-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Quanlong Huang updated IMPALA-9325:
-----------------------------------
    Epic Link: IMPALA-3446

> 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
>          Components: Catalog
>    Affects Versions: Impala 3.4.0
>            Reporter: Vihang Karajgaonkar
>            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.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org