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] Commented: (HADOOP-2591) [HQL] Addition of start command for execute the *.hql query file
Date Mon, 14 Jan 2008 03:04:34 GMT

    [ 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.


Mime
View raw message