hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: HQL plan for Hbase 0.2
Date Mon, 11 Feb 2008 00:02:24 GMT
Edward,

I don't really understand what this example is supposed to be  
suggesting. Can you try to add some explanation to your code?

-Bryan

On Feb 9, 2008, at 7:40 PM, edward yoon wrote:

> Thanks for the reviews.
> What do you think about below example?
> Can it be possible?
>
>   map {
>     //row is server host name
>     rs = hql.executeQuery("select filePath: from server_data where
> row='" + row + "'"
>          + "and column='" + columnfamily + ":" + qualifier + "';");
>
>     hql.executeQuery("load data file '" + rs.result() + "' into " +
> resultTable + ";");
>   }
>
>   main(String[] args) {
>     columnfamily = "webserver";           /* or "hadoop" */
>     qualifier = "access_log";             /* or "task_tracker_log" */
>     resultTable = "access_log_table";     /* or  
> "task_tracker_log_table" */
>   }
>
>
> On 2/10/08, Bryan Duxbury <bryan@rapleaf.com> wrote:
>> I added a few comments.
>> -Bryan
>>
>> On Feb 9, 2008, at 1:39 PM, stack wrote:
>>
>>> I added comments Edward (Thanks for adding link to your hql plans
>>> from 0.17 plans).
>>> St.Ack
>>>
>>> edward yoon wrote:
>>>> I started planning of HQL for Hbase 0.2.
>>>> http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL
>>>>
>>>> If you have some advice on this topic, share them with us in this
>>>> discussion.
>>>> Thanks.
>>>>
>>>
>>
>>
>
>
> -- 
> B. Regards,
> Edward yoon @ NHN, corp.


Mime
View raw message