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-2339) [Hbase Shell] Delete command with no WHERE clause
Date Tue, 04 Dec 2007 00:36:43 GMT

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

Edward Yoon updated HADOOP-2339:
--------------------------------

    Attachment: 2339.patch

{code}
hql > select * from udanax;
+-------------------------+-------------------------+-------------------------+
| Row                     | Column                  | Cell                    |
+-------------------------+-------------------------+-------------------------+
| row1                    | a:                      | aa                      |
+-------------------------+-------------------------+-------------------------+
| row1                    | b:                      | aa                      |
+-------------------------+-------------------------+-------------------------+
| row2                    | b:                      | aa                      |
+-------------------------+-------------------------+-------------------------+
3 row(s) in set. (0.06 sec)
hql > delete b: from udanax;
07/12/04 09:30:15 INFO hbase.HBaseAdmin: Disabled table udanax
07/12/04 09:30:15 INFO hbase.HBaseAdmin: Enabled table udanax
Column(s) deleted successfully. (10.16 sec)
hql > select * from udanax;
+-------------------------+-------------------------+-------------------------+
| Row                     | Column                  | Cell                    |
+-------------------------+-------------------------+-------------------------+
| row1                    | a:                      | aa                      |
+-------------------------+-------------------------+-------------------------+
1 row(s) in set. (0.05 sec)
hql >
{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