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

Improve TajoClient to directly get query results in the first request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.9.0
    • 0.8.0, 0.9.0
    • Java Client
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: