[ https://issues.apache.org/jira/browse/HIVE-28154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836225#comment-17836225 ]
Denys Kuzmenko commented on HIVE-28154: --------------------------------------- Merged to master [~zhangbutao] thanks for the patch and [~okumin] for the review! > 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 > Reporter: Butao Zhang > Assignee: Butao Zhang > Priority: Major > Labels: pull-request-available > > 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)