You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/03/15 20:07:38 UTC

[jira] [Commented] (TAJO-1403) Improve 'Simple Query' with only partition columns and constant values

    [ https://issues.apache.org/jira/browse/TAJO-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362506#comment-14362506 ] 

Hyunsik Choi commented on TAJO-1403:
------------------------------------

It's a good idea. I think that we can put this feature to Tajo soon.

> Improve 'Simple Query' with only partition columns and constant values
> ----------------------------------------------------------------------
>
>                 Key: TAJO-1403
>                 URL: https://issues.apache.org/jira/browse/TAJO-1403
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Dongjoon Hyun
>             Fix For: 0.11.0
>
>
> Tajo shows a very fast response for a simple query ( https://cwiki.apache.org/confluence/display/TAJO/Simple+Query+and+Forwarded+Query) like the followings.
> {code:sql}
> select * from t1 limit 10;
> {code}
> However, in many cases, tables have partitions. 
> {code:sql}
> create external table t1(id int) using csv with ('csvfile.delimiter'='|') partition by column(dt text) location '/data';
> select * from t1 where dt='2015-03-15' limit 10;
> {code}
> If all predicates in WHERE consist of partition columns and 'EQUAL' predicates with constant values, I think Tajo can handle these cases very fast. 
> This kind of queries is very popular for DevOps users and simple ETL apps.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)