Return-Path: Delivered-To: apmail-hadoop-core-commits-archive@www.apache.org Received: (qmail 25447 invoked from network); 10 Feb 2008 02:38:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2008 02:38:13 -0000 Received: (qmail 50564 invoked by uid 500); 10 Feb 2008 02:38:06 -0000 Delivered-To: apmail-hadoop-core-commits-archive@hadoop.apache.org Received: (qmail 50544 invoked by uid 500); 10 Feb 2008 02:38:06 -0000 Mailing-List: contact core-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-commits@hadoop.apache.org Received: (qmail 50535 invoked by uid 99); 10 Feb 2008 02:38:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2008 18:38:06 -0800 X-ASF-Spam-Status: No, hits=-2000.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; Sun, 10 Feb 2008 02:37:29 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 6DFFAD2E7 for ; Sun, 10 Feb 2008 02:37:49 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Sun, 10 Feb 2008 02:37:49 -0000 Message-ID: <20080210023749.15726.89295@eos.apache.org> Subject: [Hadoop Wiki] Update of "Hbase/HbaseShell/HQL" by udanax X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by udanax: http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL ------------------------------------------------------------------------------ ''Why not go whole way and implement the [http://java.sun.com/j2se/1.4.2/docs/api/java/sql/ResultSet.html java.sql.ResultSet] interface, etc.? Would it fit? St.Ack'' + ''Your proposal is being actively considered. Ed'' + ---- + == External HQL command file == === Purpose === To run the specified command file. @@ -40, +43 @@ }}} === Applications === {{{ + CASE 1 : + map { rs = hql.executeQuery("@ '" + cmdFilePath + "';"); output.collect(key, rs.result()); } + + CASE 2 : + + rs = hql.executeQuery("@ 'hdfs://app_name/install_hbase_db.txt';"); + if(rs == ok) + ... + }}} ''A file of data definition shouldn't be called a 'query file' -- and why can't the file just as easily load data? Can you think of something else to call it? And its possible to do "$ cat DATA_DEFINITION_FILE|./bin/hbase shell" to get the same effect? St.Ack'' - + ---- == Parallel Execution Features == === Query === @@ -79, +91 @@ ''Is this best implemented as part of the shell? Why not have a bin/hbase loader that takes the options on the command line? bryanduxbury'' + ''bryanduxbury: Yes. i think it should be provided on the language level, but I have no objection to it. ('./bin/hbase loader')'' === Data Dumping === + ----