David Rorke created IMPALA-9927:
-----------------------------------
Summary: Create table fails if PK constraint defined on partition
column
Key: IMPALA-9927
URL: https://issues.apache.org/jira/browse/IMPALA-9927
Project: IMPALA
Issue Type: Bug
Components: Frontend
Affects Versions: Impala 3.4.0
Reporter: David Rorke
Create table doesn't allow you to specify a primary key that's a partition
column:
{noformat}
Query: create table mytable
(
i1 int,
i2 int,
primary key (i3) DISABLE NOVALIDATE RELY
)
partitioned by (i3 int)
stored as parquet
ERROR: AnalysisException: PRIMARY KEY column 'i3' does not exist in the table
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]