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

Tim Armstrong updated IMPALA-9325:
----------------------------------
    Component/s:     (was: Frontend)
                 Catalog

> 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
>            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: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to