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

Denys Kuzmenko updated HIVE-28154:
----------------------------------
    Component/s: HiveServer2
                     (was: Iceberg integration)

> Throw friendly exception if the table does not support partition transform
> --------------------------------------------------------------------------
>
>                 Key: HIVE-28154
>                 URL: https://issues.apache.org/jira/browse/HIVE-28154
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Butao Zhang
>            Assignee: Butao Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> At present, create basic tables such as orc/parquet with partition transform 
> will succeed. However, we only support iceberg tables for partition transform 
> now, so i think we need to throw a friendly exception if the table does not 
> support partition transform, to avoid user misunderstanding that the basic 
> tables have such ability.
>  
> // {color:#FF0000}This create statement will succeed,but the table won't have 
> any partition info in fact.{color}
> {code:java}
> create table customers (customer_id int,first_name string,last_name string) 
> partitioned by spec(TRUNCATE(2, last_name)) stored as orc; {code}



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

Reply via email to