Return-Path: Delivered-To: apmail-lucene-hadoop-commits-archive@locus.apache.org Received: (qmail 3998 invoked from network); 8 Aug 2007 21:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 21:13:29 -0000 Received: (qmail 86246 invoked by uid 500); 8 Aug 2007 21:13:28 -0000 Delivered-To: apmail-lucene-hadoop-commits-archive@lucene.apache.org Received: (qmail 86223 invoked by uid 500); 8 Aug 2007 21:13:28 -0000 Mailing-List: contact hadoop-commits-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-commits@lucene.apache.org Received: (qmail 86214 invoked by uid 99); 8 Aug 2007 21:13:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 14:13:28 -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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 21:13:29 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id C7B3159A07 for ; Wed, 8 Aug 2007 21:13:08 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: hadoop-commits@lucene.apache.org Date: Wed, 08 Aug 2007 21:13:08 -0000 Message-ID: <20070808211308.13441.61341@eos.apache.org> Subject: [Lucene-hadoop Wiki] Trivial Update of "Hbase/HbaseShell/HQL" by stack X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by stack: http://wiki.apache.org/lucene-hadoop/Hbase/HbaseShell/HQL The comment on the change is: Couple of comments ------------------------------------------------------------------------------ without using programming APIs. We borrowed the syntax definition style from MySQL. + + ''~-This page looks excellent. I've added a few minor comments. Please remove when done with them. -- St.Ack-~'' == Data Definition Statements == @@ -94, +96 @@ TIMESTAMP returns only the values with the specified timestamp. + + ''~- I'd suggest you add LIMIT as in LIMIT=20 returns twenty rows only. Otherwise, when the database has many rows, the users screen will be overwhelmed by returns. You could use the new filter mechanism [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/javadoc/org/apache/hadoop/hbase/filter/package-summary.html filters], in particular the StopRowFilter implementing LIMIT. How about an INTO so you can select INTO another table or INTO a file? -- St.Ack-~'' + === INSERT Syntax === INSERT inserts a set of values into a table. @@ -138, +143 @@ By default, for every statement execution that updates a table, Hbase immediately stores the update on disk. + + ''~- TRANSACTION on a row-level only -- and this is all you could guarantee in HBase -- may be a bit-over-the-top and require more effort than its worth. How about implementing this one last, if it is needed at all? -- St.Ack-~'' +