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] Issue Comment Edited: (HADOOP-2339) [Hbase Shell] Delete command with no WHERE clause
Date Tue, 04 Dec 2007 05:27:43 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548133
] 

udanax edited comment on HADOOP-2339 at 12/3/07 9:25 PM:
--------------------------------------------------------------

ugh...   It seems troublesome...

*hql > DELETE columnA: FROM table;*
In this case, only "columnA:" should be deleted.

{code}
Row1             columnA:         ----> to be deleted
                 columnA:a
                 columnA:b
Row2             columnA:         ----> to be deleted
                 columnA:b
                 columnA:c
{code}

....
And then, how can i delete all columns in columnfamily?
I'd like to use the deleteColumn() method to drop the *ColumnFamily*

{code}
DROP TABLE table_name;
DROP COLUMNFAMILY columnfamily_name;
{code}

      was (Author: udanax):
    ugh...   It seems troublesome...

*hql > DELETE columnA: FROM table;*
In this case, only "columnA:" should be deleted.

{code}
columnA:         ----> to be deleted
columnA:a
columnA:b
{code}

....
And then, how can i delete all columns in columnfamily?
I'd like to use the deleteColumn() method to drop the *ColumnFamily*

{code}
DROP TABLE table_name;
DROP COLUMNFAMILY columnfamily_name;
{code}
  
> [Hbase Shell] Delete command with no WHERE clause
> -------------------------------------------------
>
>                 Key: HADOOP-2339
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2339
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>    Affects Versions: 0.16.0
>            Reporter: Edward Yoon
>            Assignee: Edward Yoon
>             Fix For: 0.16.0
>
>         Attachments: 2339.patch
>
>
> using HbaseAdmin.deleteColumn() method.
> {code}
> DELETE column_name FROM table_name;
> {code}

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


Mime
View raw message