You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/05/12 02:38:43 UTC
[5/7] impala git commit: IMPALA-6957: calc thread resource
requirement in planner
http://git-wip-us.apache.org/repos/asf/impala/blob/e12ee485/testdata/workloads/functional-planner/queries/PlannerTest/parquet-filtering.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/parquet-filtering.test b/testdata/workloads/functional-planner/queries/PlannerTest/parquet-filtering.test
index 7b63843..0987336 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/parquet-filtering.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/parquet-filtering.test
@@ -8,13 +8,13 @@ where int_col > 1 and int_col * rand() > 50 and int_col is null
and int_col > tinyint_col;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=42.00MB mem-reservation=16.00KB
+| Per-Host Resources: mem-estimate=42.00MB mem-reservation=16.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:AGGREGATE [FINALIZE]
| output: count(*)
-| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB
+| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0
| tuple-ids=1 row-size=8B cardinality=1
|
00:SCAN HDFS [functional_parquet.alltypes]
@@ -27,7 +27,7 @@ PLAN-ROOT SINK
extrapolated-rows=disabled max-scan-range-rows=unavailable
parquet statistics predicates: int_col > 1
parquet dictionary predicates: int_col > 1
- mem-estimate=32.00MB mem-reservation=16.00KB
+ mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1
tuple-ids=0 row-size=5B cardinality=unavailable
====
# Test a variety of types
@@ -40,13 +40,13 @@ and timestamp_cmp(timestamp_col, '2016-11-20 00:00:00') = 1
and year > 2000 and month < 12;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=138.00MB mem-reservation=88.00KB
+| Per-Host Resources: mem-estimate=138.00MB mem-reservation=88.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:AGGREGATE [FINALIZE]
| output: count(*)
-| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB
+| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0
| tuple-ids=1 row-size=8B cardinality=1
|
00:SCAN HDFS [functional_parquet.alltypes]
@@ -59,7 +59,7 @@ PLAN-ROOT SINK
extrapolated-rows=disabled max-scan-range-rows=unavailable
parquet statistics predicates: bigint_col < 5000, double_col > 100.00, float_col > 50.00, id = 1, tinyint_col < 50, string_col IN ('aaaa', 'bbbb', 'cccc'), smallint_col IN (1, 2, 3, 4, 5), date_string_col > '1993-10-01'
parquet dictionary predicates: bool_col, bigint_col < 5000, double_col > 100.00, float_col > 50.00, id = 1, tinyint_col < 50, string_col IN ('aaaa', 'bbbb', 'cccc'), smallint_col IN (1, 2, 3, 4, 5), mod(int_col, 2) = 1, timestamp_cmp(timestamp_col, TIMESTAMP '2016-11-20 00:00:00') = 1, date_string_col > '1993-10-01'
- mem-estimate=128.00MB mem-reservation=88.00KB
+ mem-estimate=128.00MB mem-reservation=88.00KB thread-reservation=1
tuple-ids=0 row-size=80B cardinality=unavailable
====
# Test negative cases for IN predicate min/max filtering
@@ -73,13 +73,13 @@ and mod(int_col,50) IN (0,1)
and id IN (int_col);
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=58.00MB mem-reservation=24.00KB
+| Per-Host Resources: mem-estimate=58.00MB mem-reservation=24.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:AGGREGATE [FINALIZE]
| output: count(*)
-| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB
+| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0
| tuple-ids=1 row-size=8B cardinality=1
|
00:SCAN HDFS [functional_parquet.alltypes]
@@ -91,7 +91,7 @@ PLAN-ROOT SINK
columns: unavailable
extrapolated-rows=disabled max-scan-range-rows=unavailable
parquet dictionary predicates: id NOT IN (0, 1, 2), string_col IN ('aaaa', 'bbbb', 'cccc', NULL), mod(int_col, 50) IN (0, 1)
- mem-estimate=48.00MB mem-reservation=24.00KB
+ mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=unavailable
====
# Test collection types where all collections on the path are required (inner
@@ -101,44 +101,44 @@ select id from functional_parquet.complextypestbl c, c.nested_struct.c.d cn, cn.
where a.item.e < -10;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB
+| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=2,1,0 row-size=44B cardinality=unavailable
|
|--08:NESTED LOOP JOIN [CROSS JOIN]
-| | mem-estimate=24B mem-reservation=0B
+| | mem-estimate=24B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1,0 row-size=44B cardinality=100
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=24B cardinality=1
| |
| 04:SUBPLAN
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1 row-size=20B cardinality=100
| |
| |--07:NESTED LOOP JOIN [CROSS JOIN]
-| | | mem-estimate=16B mem-reservation=0B
+| | | mem-estimate=16B mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,1 row-size=20B cardinality=10
| | |
| | |--05:SINGULAR ROW SRC
| | | parent-subplan=04
-| | | mem-estimate=0B mem-reservation=0B
+| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=16B cardinality=1
| | |
| | 06:UNNEST [cn.item a]
| | parent-subplan=04
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=0B cardinality=10
| |
| 03:UNNEST [c.nested_struct.c.d cn]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=0B cardinality=10
|
00:SCAN HDFS [functional_parquet.complextypestbl c]
@@ -152,7 +152,7 @@ PLAN-ROOT SINK
extrapolated-rows=disabled max-scan-range-rows=unavailable
parquet statistics predicates on a: a.item.e < -10
parquet dictionary predicates on a: a.item.e < -10
- mem-estimate=48.00MB mem-reservation=24.00KB
+ mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=unavailable
====
# Test collection types where the lower collection in the path is optional
@@ -164,45 +164,45 @@ left outer join cn.item a
where a.item.e < -10;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB
+| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=2N,1,0 row-size=44B cardinality=unavailable
|
|--08:SUBPLAN
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2N,1,0 row-size=44B cardinality=10
| |
| |--06:NESTED LOOP JOIN [RIGHT OUTER JOIN]
| | | predicates: a.item.e < -10
-| | | mem-estimate=40B mem-reservation=0B
+| | | mem-estimate=40B mem-reservation=0B thread-reservation=0
| | | tuple-ids=2N,1,0 row-size=44B cardinality=1
| | |
| | |--04:SINGULAR ROW SRC
| | | parent-subplan=08
-| | | mem-estimate=0B mem-reservation=0B
+| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=1,0 row-size=40B cardinality=1
| | |
| | 05:UNNEST [cn.item a]
| | parent-subplan=08
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=0B cardinality=10
| |
| 07:NESTED LOOP JOIN [CROSS JOIN]
-| | mem-estimate=24B mem-reservation=0B
+| | mem-estimate=24B mem-reservation=0B thread-reservation=0
| | tuple-ids=1,0 row-size=40B cardinality=10
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=24B cardinality=1
| |
| 03:UNNEST [c.nested_struct.c.d cn]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=0B cardinality=10
|
00:SCAN HDFS [functional_parquet.complextypestbl c]
@@ -213,7 +213,7 @@ PLAN-ROOT SINK
table: rows=unavailable size=unavailable
columns missing stats: id
extrapolated-rows=disabled max-scan-range-rows=unavailable
- mem-estimate=48.00MB mem-reservation=24.00KB
+ mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=unavailable
====
# Tests collection types where the outer is optional (outer join descent)
@@ -223,44 +223,44 @@ select id from functional_parquet.complextypestbl c
left outer join c.nested_struct.c.d cn, cn.item a where a.item.e < -10;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB
+| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=2,1N,0 row-size=44B cardinality=unavailable
|
|--08:SUBPLAN
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1N,0 row-size=44B cardinality=10
| |
| |--06:NESTED LOOP JOIN [CROSS JOIN]
-| | | mem-estimate=40B mem-reservation=0B
+| | | mem-estimate=40B mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,1N,0 row-size=44B cardinality=10
| | |
| | |--04:SINGULAR ROW SRC
| | | parent-subplan=08
-| | | mem-estimate=0B mem-reservation=0B
+| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=1N,0 row-size=40B cardinality=1
| | |
| | 05:UNNEST [cn.item a]
| | parent-subplan=08
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=0B cardinality=10
| |
| 07:NESTED LOOP JOIN [RIGHT OUTER JOIN]
-| | mem-estimate=24B mem-reservation=0B
+| | mem-estimate=24B mem-reservation=0B thread-reservation=0
| | tuple-ids=1N,0 row-size=40B cardinality=1
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=24B cardinality=1
| |
| 03:UNNEST [c.nested_struct.c.d cn]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=0B cardinality=10
|
00:SCAN HDFS [functional_parquet.complextypestbl c]
@@ -270,7 +270,7 @@ PLAN-ROOT SINK
table: rows=unavailable size=unavailable
columns missing stats: id
extrapolated-rows=disabled max-scan-range-rows=unavailable
- mem-estimate=48.00MB mem-reservation=24.00KB
+ mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=unavailable
====
# Test collections so that each level has a filter applied.
@@ -278,44 +278,44 @@ select c_custkey from tpch_nested_parquet.customer c, c.c_orders o,
o.o_lineitems l where c_custkey > 0 and o.o_orderkey > 0 and l.l_partkey > 0;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=264.00MB mem-reservation=16.00MB
+| Per-Host Resources: mem-estimate=264.00MB mem-reservation=16.00MB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=2,1,0 row-size=56B cardinality=1500000
|
|--08:NESTED LOOP JOIN [CROSS JOIN]
-| | mem-estimate=24B mem-reservation=0B
+| | mem-estimate=24B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1,0 row-size=56B cardinality=100
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=24B cardinality=1
| |
| 04:SUBPLAN
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1 row-size=32B cardinality=100
| |
| |--07:NESTED LOOP JOIN [CROSS JOIN]
-| | | mem-estimate=24B mem-reservation=0B
+| | | mem-estimate=24B mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,1 row-size=32B cardinality=10
| | |
| | |--05:SINGULAR ROW SRC
| | | parent-subplan=04
-| | | mem-estimate=0B mem-reservation=0B
+| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=24B cardinality=1
| | |
| | 06:UNNEST [o.o_lineitems l]
| | parent-subplan=04
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=0B cardinality=10
| |
| 03:UNNEST [c.c_orders o]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
@@ -333,7 +333,7 @@ PLAN-ROOT SINK
parquet dictionary predicates: c_custkey > 0
parquet dictionary predicates on o: o.o_orderkey > 0
parquet dictionary predicates on l: l.l_partkey > 0
- mem-estimate=264.00MB mem-reservation=16.00MB
+ mem-estimate=264.00MB mem-reservation=16.00MB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=15000
====
# Test collections in a way that would incorrectly apply a min-max
@@ -342,31 +342,31 @@ select count(*) from functional_parquet.complextypestbl c left outer join
(select * from c.int_array where item > 10) v;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=26.00MB mem-reservation=8.00KB
+| Per-Host Resources: mem-estimate=26.00MB mem-reservation=8.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
05:AGGREGATE [FINALIZE]
| output: count(*)
-| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB
+| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0
| tuple-ids=3 row-size=8B cardinality=1
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1N,0 row-size=20B cardinality=unavailable
|
|--04:NESTED LOOP JOIN [RIGHT OUTER JOIN]
-| | mem-estimate=16B mem-reservation=0B
+| | mem-estimate=16B mem-reservation=0B thread-reservation=0
| | tuple-ids=1N,0 row-size=20B cardinality=1
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=16B cardinality=1
| |
| 03:UNNEST [c.int_array]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=4B cardinality=10
|
00:SCAN HDFS [functional_parquet.complextypestbl c]
@@ -376,7 +376,7 @@ PLAN-ROOT SINK
table: rows=unavailable size=unavailable
columns: unavailable
extrapolated-rows=disabled max-scan-range-rows=unavailable
- mem-estimate=16.00MB mem-reservation=8.00KB
+ mem-estimate=16.00MB mem-reservation=8.00KB thread-reservation=1
tuple-ids=0 row-size=16B cardinality=unavailable
====
# Multiple nested collection values (at the same nesting level) where dictionary
@@ -388,44 +388,44 @@ l.l_receiptdate = '1994-08-24' and l.l_shipmode = 'RAIL' and l.l_returnflag = 'R
l.l_comment is null;
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=616.00MB mem-reservation=32.00MB
+| Per-Host Resources: mem-estimate=616.00MB mem-reservation=32.00MB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
01:SUBPLAN
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=2,1,0 row-size=162B cardinality=15000000
|
|--08:NESTED LOOP JOIN [CROSS JOIN]
-| | mem-estimate=50B mem-reservation=0B
+| | mem-estimate=50B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1,0 row-size=162B cardinality=100
| |
| |--02:SINGULAR ROW SRC
| | parent-subplan=01
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=50B cardinality=1
| |
| 04:SUBPLAN
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2,1 row-size=112B cardinality=100
| |
| |--07:NESTED LOOP JOIN [CROSS JOIN]
-| | | mem-estimate=32B mem-reservation=0B
+| | | mem-estimate=32B mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,1 row-size=112B cardinality=10
| | |
| | |--05:SINGULAR ROW SRC
| | | parent-subplan=04
-| | | mem-estimate=0B mem-reservation=0B
+| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=32B cardinality=1
| | |
| | 06:UNNEST [o.o_lineitems l]
| | parent-subplan=04
-| | mem-estimate=0B mem-reservation=0B
+| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=0B cardinality=10
| |
| 03:UNNEST [c.c_orders o]
| parent-subplan=01
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=1 row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
@@ -439,6 +439,6 @@ PLAN-ROOT SINK
extrapolated-rows=disabled max-scan-range-rows=44229
parquet statistics predicates on l: l.l_shipdate = '1994-08-19', l.l_receiptdate = '1994-08-24', l.l_shipmode = 'RAIL', l.l_returnflag = 'R'
parquet dictionary predicates on l: l.l_shipdate = '1994-08-19', l.l_receiptdate = '1994-08-24', l.l_shipmode = 'RAIL', l.l_returnflag = 'R'
- mem-estimate=616.00MB mem-reservation=32.00MB
+ mem-estimate=616.00MB mem-reservation=32.00MB thread-reservation=1
tuple-ids=0 row-size=50B cardinality=150000
====
http://git-wip-us.apache.org/repos/asf/impala/blob/e12ee485/testdata/workloads/functional-planner/queries/PlannerTest/partition-pruning.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/partition-pruning.test b/testdata/workloads/functional-planner/queries/PlannerTest/partition-pruning.test
index 7cfb72d..c5109cf 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/partition-pruning.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/partition-pruning.test
@@ -4,9 +4,9 @@ select * from functional.stringpartitionkey
where string_col=cast("2009-01-01 00:00:00" as timestamp);
---- PLAN
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
-| Per-Host Resources: mem-estimate=32.00MB mem-reservation=8.00KB
+| Per-Host Resources: mem-estimate=32.00MB mem-reservation=8.00KB thread-reservation=2
PLAN-ROOT SINK
-| mem-estimate=0B mem-reservation=0B
+| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
00:SCAN HDFS [functional.stringpartitionkey]
partitions=1/2 files=1 size=2B
@@ -15,6 +15,6 @@ PLAN-ROOT SINK
partitions: 1/1 rows=1
columns: all
extrapolated-rows=disabled max-scan-range-rows=1
- mem-estimate=32.00MB mem-reservation=8.00KB
+ mem-estimate=32.00MB mem-reservation=8.00KB thread-reservation=1
tuple-ids=0 row-size=20B cardinality=1
====