hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2240) Truncate for hbase
Date Sat, 01 Dec 2007 05:22:43 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Edward Yoon updated HADOOP-2240:

    Attachment: 2240.patch

- Truncate table is used to clean all data from a table.


hql > insert into test (a,b) values ('aa','bb') where row='row1';
1 row inserted successfully. (0.41 sec)
hql > truncate table test;
'test' is successfully truncated.
hql > select * from test;
0 row(s) in set. (1.16 sec)
hql > exit;

- We need to get away from functionalities and focus on the internal algorithm issues. I'll
make these issues.
- i didn't make the test case becuase it already exists. (It just steps of creating drop repeats.)

> Truncate for hbase
> ------------------
>                 Key: HADOOP-2240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2240
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: contrib/hbase
>            Reporter: Billy Pearson
>            Assignee: Edward Yoon
>            Priority: Minor
>         Attachments: 2240.patch
> Would be nice to have a way to truncate the tables from the shell. With out doing a drop
and create your self. Maybe the truncate could issue the drop and create command for you based
off the layout in the the table before the truncate.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message