Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 26469 invoked from network); 25 Jul 2007 09:16:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 09:16:52 -0000 Received: (qmail 23991 invoked by uid 500); 25 Jul 2007 09:16:53 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 23963 invoked by uid 500); 25 Jul 2007 09:16:53 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 23953 invoked by uid 99); 25 Jul 2007 09:16:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 02:16:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 02:16:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4ED157141ED for ; Wed, 25 Jul 2007 02:16:31 -0700 (PDT) Message-ID: <10781834.1185354991320.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 02:16:31 -0700 (PDT) From: "edward yoon (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1608) [HbaseShell] Relational Algrebra Operators In-Reply-To: <30939913.1184326504508.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] edward yoon updated HADOOP-1608: -------------------------------- Attachment: shell_v02.patch This patch * adds (project, select, sort, substitute, store) command. {code} Examples. HBase > A = table('movieLog_table'); HBase > B = A.projection('year','length'); HBase > [C = sort B by ('year');] HBase > store B to table('temp_table'); ... HBase > A = table('movieLog_table'); HBase > B = A.selection(length > 100); HBase > store B to table('temp_table2'); ... HBase > A = table('movieLog_table'); HBase > B = A.projection('year','length','studioName'); HBase > C = B.selection(length > 100); HBase > D = sort C by ('studioName'); HBase > store D to table('temp_table3'); --Output Table Creating. --Job 'job_200707200959_0003' is submitted --Job job_200707200959_0003 is still running. --Job job_200707200959_0003 is still running. --Job job_200707200959_0003 is still running. Job Successful.(47.86 sec) HBase > select temp_table3; +------+----------------------+----------------------+----------------------+ | No. | Row | Column | Cell | +------+----------------------+----------------------+----------------------+ | 1 | Disney | length: | 124 | +------+----------------------+----------------------+----------------------+ | 2 | Disney | studioName: | Disney | +------+----------------------+----------------------+----------------------+ | 3 | Disney | year: | 1991 | +------+----------------------+----------------------+----------------------+ | 4 | Fox | length: | 124 | +------+----------------------+----------------------+----------------------+ | 5 | Fox | studioName: | Fox | +------+----------------------+----------------------+----------------------+ | 6 | Fox | year: | 1977 | +------+----------------------+----------------------+----------------------+ {code} but, I should make logical operators(AND, OR, NOT) in selection command syntax. > [HbaseShell] Relational Algrebra Operators > ------------------------------------------ > > Key: HADOOP-1608 > URL: https://issues.apache.org/jira/browse/HADOOP-1608 > Project: Hadoop > Issue Type: Improvement > Components: contrib/hbase > Affects Versions: 0.13.0 > Environment: All environments > Reporter: edward yoon > Priority: Minor > Attachments: shell_r_operators_v01.patch, shell_v02.patch > > > Development of relational algebra operators has begun. > * Projection > * Selection > * Product > * Rename > * Group > * Sort -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.