You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Butao Zhang (Jira)" <ji...@apache.org> on 2024/03/27 08:00:00 UTC
[jira] [Created] (HIVE-28154) Throw friendly exception if the table does not support partition transform
Butao Zhang created HIVE-28154:
----------------------------------
Summary: 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
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)