Adam Holley created IMPALA-6739:
-----------------------------------
Summary: Passing partition for alter table set location, better
exception
Key: IMPALA-6739
URL: https://issues.apache.org/jira/browse/IMPALA-6739
Project: IMPALA
Issue Type: Bug
Components: Frontend
Reporter: Adam Holley
Trying to specify partition information for ALTER TABLE SET LOCATION on a table
that is not partitioned, will result in IndexArrayOutOfBounds exception.
e.g.:
> ALTER TABLE functional.alltypesagg PARTITION(year=2009, month=1) SET LOCATION
> 'hdfs://localhost:20500/test-warehouse/new_table';
ERROR: IndexOutOfBoundsException: toIndex = 3
This should throw an exception that the table is not partitioned.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)