[ 
https://issues.apache.org/jira/browse/HADOOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559306#action_12559306
 ] 

udanax edited comment on HADOOP-2591 at 1/15/08 4:49 PM:
--------------------------------------------------------------

Emm.. "The LOAD DATA INFILE statement reads rows from a text file into a table" 
-- http://dev.mysql.com/doc/refman/5.0/en/load-data.html
I think it has different mean. (LOAD DATA INFILE 'file_name' INTO TABLE 
table_name;)
So, i would like to change it as describe below.

{code}
LOAD QUERY INFILE 'file_name';
{code}

      was (Author: udanax):
    Emm.. "The LOAD DATA INFILE statement reads rows from a text file into a 
table" -- http://dev.mysql.com/doc/refman/5.0/en/load-data.html
I think it has different mean.
So, i would like to change it as describe below.

{code}
LOAD QUERY INFILE 'file_name';
LOAD DATA INFILE 'file_name' TO table_name;
{code}
  
> [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
>            Priority: Minor
>             Fix For: 0.17.0
>
>         Attachments: 2591.patch
>
>
> {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.

Reply via email to