Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1464

Bug in explain plan: Plan nodes in unpartitioned fragments should have hosts=1.

    XMLWordPrintableJSON

Details

    Description

      Query: explain select * from functional.alltypes limit 10
      +-----------------------------------------------------------+
      | Explain String                                            |
      +-----------------------------------------------------------+
      | Estimated Per-Host Requirements: Memory=160.00MB VCores=1 |
      |                                                           |
      | 01:EXCHANGE [UNPARTITIONED]                               |
      | |  limit: 10                                              |
      | |  hosts=3 per-host-mem=unavailable                       | <-- should be hosts=1
      | |  tuple-ids=0 row-size=97B cardinality=10                |
      | |                                                         |
      | 00:SCAN HDFS [functional.alltypes, RANDOM]                |
      |    partitions=24/24 files=24 size=478.45KB                |
      |    table stats: 7300 rows total                           |
      |    column stats: all                                      |
      |    limit: 10                                              |
      |    hosts=3 per-host-mem=160.00MB                          |
      |    tuple-ids=0 row-size=97B cardinality=10                |
      +-----------------------------------------------------------+
      

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: