Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 86616 invoked from network); 14 Jan 2008 03:05:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 03:05:03 -0000 Received: (qmail 7604 invoked by uid 500); 14 Jan 2008 03:04:52 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 7583 invoked by uid 500); 14 Jan 2008 03:04:52 -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 7574 invoked by uid 99); 14 Jan 2008 03:04:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 19:04:52 -0800 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; Mon, 14 Jan 2008 03:04:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B47C714264 for ; Sun, 13 Jan 2008 19:04:34 -0800 (PST) Message-ID: <12745851.1200279874437.JavaMail.jira@brutus> Date: Sun, 13 Jan 2008 19:04:34 -0800 (PST) From: "Edward Yoon (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2591) [HQL] Addition of start command for execute the *.hql query file In-Reply-To: <12097376.1200214234025.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-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558489#action_12558489 ] Edward Yoon commented on HADOOP-2591: ------------------------------------- stack: Of course, It work but i think this formal command should be provided. Generally, A query file used for construct schema, table, and column references in the auto installation batch program. > [HQL] Addition of start command for execute the *.hql query file > ---------------------------------------------------------------- > > Key: HADOOP-2591 > URL: https://issues.apache.org/jira/browse/HADOOP-2591 > Project: Hadoop > Issue Type: New Feature > Components: contrib/hbase > Affects Versions: 0.16.0 > Reporter: Edward Yoon > Assignee: Edward Yoon > Fix For: 0.16.0 > > > {code} > $ cat queries.hql > CREATE TABLE webtable ( > contents in_memory max_versions=10 compression=block, > anchor max_length=256 bloomfilter=counting_bloomfilter > vector_size=1000000 num_hash=4); > ); > INSERT INTO webtable (contents, anchor:Hadoop) > VALUES ('html content', 'http://hadoop.apache.org') > WHERE row='http://www.hadoop.co.kr'; > ... > ---- > hql> start ./queries.hql; > ... > hql> desc webtable; > .... > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.