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

Edward Yoon commented on HADOOP-2339:
-------------------------------------

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.

Reply via email to