Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7003 Support erasure-coding in impala
  3. IMPALA-7097

Print EC info in the query plan and profile

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 4.0.0
    • Frontend
    • None
    • ghx-label-3

    Description

      Impala should print EC-related info in the query plan to help user understand the behavior and diagnose performance issues easier. The most trivial design would look like:

      [localhost:21000] functional> explain select * from functional.alltypes;
      Query: explain select * from functional.alltypes
      +-------------------------------------------------------------+
      | Explain String                                              |
      +-------------------------------------------------------------+
      | Max Per-Host Resource Reservation: Memory=32.00KB Threads=3 |
      | Per-Host Resource Estimates: Memory=160.00MB                |
      | Codegen disabled by planner                                 |
      |                                                             |
      | PLAN-ROOT SINK                                              |
      | |                                                           |
      | 01:EXCHANGE [UNPARTITIONED]                                 |
      | |                                                           |
      | 00:SCAN HDFS [functional.alltypes]                          |
      |    partitions=24/24 files=25 size=498.41KB                  |
      |    EC files=24 size=478.45KB                                |
      +-------------------------------------------------------------+
      

      In the query profile we should at least print "EC bytes scanned" in the scan node.

      Attachments

        Issue Links

          Activity

            People

              sql_forever Qifan Chen
              tianyiwang Tianyi Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: