kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Percy <mpe...@apache.org>
Subject Re: How to truncate a kudu table?
Date Thu, 21 Apr 2016 07:55:36 GMT
Filed a JIRA to track the Impala metadata inconsistency issue @
https://issues.cloudera.org/browse/IMPALA-3387

On Thu, Apr 21, 2016 at 12:23 AM, Todd Lipcon <todd@cloudera.com> wrote:

> 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