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

ASF GitHub Bot updated HIVE-29376:
----------------------------------
    Labels: pull-request-available  (was: )

> Using partition spec in DESC FORMATTED sql is unsupported for Iceberg table
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-29376
>                 URL: https://issues.apache.org/jira/browse/HIVE-29376
>             Project: Hive
>          Issue Type: Improvement
>          Components: Iceberg integration
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Denys Kuzmenko
>            Assignee: Ramit Gupta
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> create external table tbl_ice_puffin(
>     a int,
>     b string
> )
> partitioned by (c int)
> stored by iceberg;
> insert overwrite table tbl_ice_puffin select * from src_ice;
> desc formatted tbl_ice_puffin PARTITION(c=54);
> {code}
> stacktrace:
> {code}
>  java.lang.UnsupportedOperationException: Using partition spec in query is 
> unsupported for non-native table backed by: 
> org.apache.iceberg.mr.hive.HiveIcebergStorageHandler
>         at 
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.validateUnsupportedPartitionClause(BaseSemanticAnalyzer.java:1755)
>         at 
> org.apache.hadoop.hive.ql.ddl.table.info.desc.DescTableAnalyzer.getPartitionSpec(DescTableAnalyzer.java:164)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to