Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

You can't drop a kudu partition?!

avatar
Explorer

When trying to drop a range partition of a Kudu table via Impala's ALTER TABLE, we got

 

Server version: impalad version 2.8.0-cdh5.11.0 RELEASE (build e09660de6b503a15f07e84b99b63e8e745854c34)

Query: alter TABLE vis.ss7gsm_fact_kudu DROP PARTITION (unix_timestamp('2017-03-21 00:00:00') <= sql_interval < unix_timestamp('2017-03-21 02:00:00'))

ERROR: AnalysisException: ALTER TABLE DROP PARTITION is not supported for Kudu tables: PARTITION (unix_timestamp('2017-03-21 00:00:00') <= sql_interval < unix_timestamp('2017-03-21 02:00:00'))

 

Is this an Impala/Kudu integration issue or the way it is with Kudu?

 

Thanks,

Brian

1 ACCEPTED SOLUTION

avatar
Explorer

I see my mistake. The statement is supposed to say DROP RANGE PARTITION...

View solution in original post

1 REPLY 1

avatar
Explorer

I see my mistake. The statement is supposed to say DROP RANGE PARTITION...