Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-356

Improve TajoClient to directly get query results in the first request

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.9.0
    • Fix Version/s: 0.8.0, 0.9.0
    • Component/s: Java Client
    • Labels:
      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.

        Attachments

        1. TAJO-356_20140408_20:53:45.patch
          79 kB
          Hyunsik Choi
        2. TAJO-356.patch
          76 kB
          Hyunsik Choi

          Issue Links

            Activity

              People

              • Assignee:
                hyunsik Hyunsik Choi
                Reporter:
                hyunsik Hyunsik Choi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: