kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: How to truncate a kudu table?
Date Thu, 21 Apr 2016 07:23:37 GMT
Hi Darren,

Unfortunately kudu does not currently support any truncate operation.
You'll have to delete and recreate the table.

Todd
On Apr 21, 2016 12:22 AM, "Darren Hoo" <darren.hoo@gmail.com> wrote:

> As IMPALA-2999 is still open, so truncate from impala is not possible now.
>
> Can I truncate a kudu table using kudu side tools? kudu-admin only has delete_table
> operation
>
> btw, delete_table is very useful, once when I drop a big kudu table from
> impala-shell and
> it fails, the metadata between impala and kudu is out of sync, neither can
> I drop nor create the same table.
> and kudu-admin saves me!
>

Mime
View raw message