Hyunsik Choi created TAJO-356:
---------------------------------
Summary: Improve TajoClient to directly get query results in the
first request
Key: TAJO-356
URL: https://issues.apache.org/jira/browse/TAJO-356
Project: Tajo
Issue Type: Improvement
Components: client
Reporter: Hyunsik Choi
Assignee: Hyunsik Choi
Fix For: 0.8-incubating
Currently, TajoClient cannot deal with simple queries (e.g., select * from
table limit 1 or select 1) which are executed in TajoMaster without distributed
execution. The final results are always stored in HDFS, and TajoClient gets the
result via scanner with TableDesc obtained from GetQueryResultResponse.
For simple queries directly executed at TajoMaster, TajoClient needs to
directly get some binary serialized rows results from GetQueryStatusResponse or
GetQueryResultResponse instead of reading materialized tables.
This feature would be also useful for low latency queries, EXPLAIN clauses and
expr-only statements without FROM clause.
--
This message was sent by Atlassian JIRA
(v6.1#6144)