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

PlannerTest.testTableSample has wrong mem-reservation

    XMLWordPrintableJSON

Details

    Description

      Seen once on master exhaustive:

      Error Message
      Section PLAN of query:
      select id from functional_parquet.alltypes tablesample system(10) repeatable(1234)
      
      Actual does not match expected result:
      F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
      |  Per-Host Resources: mem-estimate=16.00MB mem-reservation=8.00KB thread-reservation=2
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      PLAN-ROOT SINK
      |  mem-estimate=0B mem-reservation=0B thread-reservation=0
      |
      00:SCAN HDFS [functional_parquet.alltypes]
         partitions=3/24 files=3 size=23.70KB
         stored statistics:
           table: rows=unavailable size=unavailable
           partitions: 0/24 rows=unavailable
           columns: unavailable
         extrapolated-rows=disabled max-scan-range-rows=unavailable
         mem-estimate=16.00MB mem-reservation=8.00KB thread-reservation=1
         tuple-ids=0 row-size=4B cardinality=unavailable
      
      Expected:
      F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
      |  Per-Host Resources: mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=2
      PLAN-ROOT SINK
      |  mem-estimate=0B mem-reservation=0B thread-reservation=0
      |
      00:SCAN HDFS [functional_parquet.alltypes]
         partitions=3/24 files=3 size=24.23KB
         stored statistics:
           table: rows=unavailable size=unavailable
           partitions: 0/24 rows=unavailable
           columns: unavailable
         extrapolated-rows=disabled max-scan-range-rows=unavailable
         mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=1
         tuple-ids=0 row-size=4B cardinality=unavailable

      This succeeded on the next build, so it is flaky and might not recur.

       

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: