You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Adam Holley (JIRA)" <ji...@apache.org> on 2018/03/26 18:11:00 UTC
[jira] [Created] (IMPALA-6739) Passing partition for alter table
set location, better exception
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)