Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0, 0.9.0
-
None
Description
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.