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

Denys Kuzmenko updated HIVE-29376:
----------------------------------
    Component/s: Iceberg integration

> Using partition spec in DESCRIBE FORMATTED sql is unsupported for Iceberg 
> table
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-29376
>                 URL: https://issues.apache.org/jira/browse/HIVE-29376
>             Project: Hive
>          Issue Type: Bug
>          Components: Iceberg integration
>            Reporter: Denys Kuzmenko
>            Priority: Major
>
> {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