From e05d92cb3d0aa46c7eed8e30a8e580b01254ea34 Mon Sep 17 00:00:00 2001 From: Joe McDonnell Date: Wed, 30 Jul 2025 17:50:42 -0700 Subject: [PATCH] IMPALA-13548: Schedule scan ranges oldest to newest for tuple caching Scheduling does not sort scan ranges by modification time. When a new file is added to a table, its order in the list of scan ranges is not based on modification time. Instead, it is based on which partition it belongs to and what its filename is. A new file that is added early in the list of scan ranges can cause cascading differences in scheduling. For tuple caching, this means that multiple runtime cache keys could change due to adding a single file. To minimize that disruption, this adds the ability to sort the scan ranges by modification time and schedule scan ranges oldest to newest. This enables it for scan nodes that feed into tuple cache nodes (similar to deterministic scan range assignment). Testing: - Modified TestTupleCacheFullCluster::test_scan_range_distributed to have stricter checks about how many cache keys change after an insert (only one should change) - Modified TupleCacheTest#testDeterministicScheduling to verify that oldest to newest scheduling is also enabled. Change-Id: Ia4108c7a00c6acf8bbfc036b2b76e7c02ae44d47 Reviewed-on: http://gerrit.cloudera.org:8080/23228 Reviewed-by: Michael Smith Tested-by: Impala Public Jenkins --- be/src/scheduling/scheduler.cc | 40 +++- common/thrift/PlanNodes.thrift | 6 + .../apache/impala/planner/HdfsScanNode.java | 28 ++- .../apache/impala/planner/TupleCacheNode.java | 5 + .../apache/impala/planner/TupleCacheTest.java | 14 +- .../PlannerTest/tpcds_tuple_cache/ddl.test | 44 ++-- .../tpcds_tuple_cache/tpcds-ddl-iceberg.test | 11 +- .../tpcds_tuple_cache/tpcds-ddl-parquet.test | 11 +- .../tpcds_tuple_cache/tpcds-q01.test | 16 +- .../tpcds_tuple_cache/tpcds-q02.test | 30 ++- .../tpcds_tuple_cache/tpcds-q03.test | 9 + .../tpcds_tuple_cache/tpcds-q04.test | 18 ++ .../tpcds_tuple_cache/tpcds-q05.test | 47 ++++- .../tpcds_tuple_cache/tpcds-q06.test | 6 + .../tpcds_tuple_cache/tpcds-q07.test | 9 + .../tpcds_tuple_cache/tpcds-q08.test | 10 + .../tpcds_tuple_cache/tpcds-q09.test | 48 +++++ .../tpcds_tuple_cache/tpcds-q10a.test | 21 ++ .../tpcds_tuple_cache/tpcds-q11.test | 12 ++ .../tpcds_tuple_cache/tpcds-q12.test | 7 + .../tpcds_tuple_cache/tpcds-q13.test | 16 ++ .../tpcds_tuple_cache/tpcds-q14a.test | 199 ++++++++++++++---- .../tpcds_tuple_cache/tpcds-q14b.test | 118 +++++++++-- .../tpcds_tuple_cache/tpcds-q15.test | 11 +- .../tpcds_tuple_cache/tpcds-q16.test | 14 ++ .../tpcds_tuple_cache/tpcds-q17.test | 12 ++ .../tpcds_tuple_cache/tpcds-q18.test | 15 ++ .../tpcds_tuple_cache/tpcds-q19.test | 12 ++ .../tpcds_tuple_cache/tpcds-q20.test | 7 + .../tpcds_tuple_cache/tpcds-q21.test | 12 ++ .../tpcds_tuple_cache/tpcds-q22.test | 7 + .../tpcds_tuple_cache/tpcds-q23a.test | 30 +++ .../tpcds_tuple_cache/tpcds-q23b.test | 30 +++ .../tpcds_tuple_cache/tpcds-q24a.test | 20 ++ .../tpcds_tuple_cache/tpcds-q24b.test | 20 ++ .../tpcds_tuple_cache/tpcds-q25.test | 16 ++ .../tpcds_tuple_cache/tpcds-q26.test | 9 + .../tpcds_tuple_cache/tpcds-q27.test | 11 + .../tpcds_tuple_cache/tpcds-q28.test | 18 ++ .../tpcds_tuple_cache/tpcds-q29.test | 12 ++ .../tpcds_tuple_cache/tpcds-q30.test | 14 ++ .../tpcds_tuple_cache/tpcds-q31.test | 30 +++ .../tpcds_tuple_cache/tpcds-q32.test | 27 ++- .../tpcds_tuple_cache/tpcds-q33.test | 33 +++ .../tpcds_tuple_cache/tpcds-q34.test | 13 ++ .../tpcds_tuple_cache/tpcds-q35a.test | 21 +- .../tpcds_tuple_cache/tpcds-q36.test | 10 + .../tpcds_tuple_cache/tpcds-q37.test | 10 + .../tpcds_tuple_cache/tpcds-q38.test | 9 +- .../tpcds_tuple_cache/tpcds-q39a.test | 10 + .../tpcds_tuple_cache/tpcds-q39b.test | 10 + .../tpcds_tuple_cache/tpcds-q40.test | 11 +- .../tpcds_tuple_cache/tpcds-q41.test | 6 + .../tpcds_tuple_cache/tpcds-q42.test | 9 + .../tpcds_tuple_cache/tpcds-q43.test | 9 + .../tpcds_tuple_cache/tpcds-q44.test | 12 ++ .../tpcds_tuple_cache/tpcds-q45.test | 10 + .../tpcds_tuple_cache/tpcds-q46.test | 9 + .../tpcds_tuple_cache/tpcds-q47.test | 9 + .../tpcds_tuple_cache/tpcds-q48.test | 13 ++ .../tpcds_tuple_cache/tpcds-q49.test | 29 ++- .../tpcds_tuple_cache/tpcds-q50.test | 9 + .../tpcds_tuple_cache/tpcds-q51.test | 6 + .../tpcds_tuple_cache/tpcds-q52.test | 9 + .../tpcds_tuple_cache/tpcds-q53.test | 10 + .../tpcds_tuple_cache/tpcds-q54.test | 25 +++ .../tpcds_tuple_cache/tpcds-q55.test | 9 + .../tpcds_tuple_cache/tpcds-q56.test | 39 ++++ .../tpcds_tuple_cache/tpcds-q57.test | 9 + .../tpcds_tuple_cache/tpcds-q59.test | 10 +- .../tpcds_tuple_cache/tpcds-q60.test | 33 +++ .../tpcds_tuple_cache/tpcds-q61.test | 29 +++ .../tpcds_tuple_cache/tpcds-q62.test | 11 + .../tpcds_tuple_cache/tpcds-q63.test | 10 + .../tpcds_tuple_cache/tpcds-q64.test | 13 ++ .../tpcds_tuple_cache/tpcds-q65.test | 10 + .../tpcds_tuple_cache/tpcds-q66.test | 30 +++ .../tpcds_tuple_cache/tpcds-q67.test | 6 + .../tpcds_tuple_cache/tpcds-q68.test | 9 + .../tpcds_tuple_cache/tpcds-q69.test | 17 ++ .../tpcds_tuple_cache/tpcds-q70.test | 16 +- .../tpcds_tuple_cache/tpcds-q71.test | 24 +++ .../tpcds_tuple_cache/tpcds-q72.test | 15 ++ .../tpcds_tuple_cache/tpcds-q73.test | 13 ++ .../tpcds_tuple_cache/tpcds-q74.test | 12 ++ .../tpcds_tuple_cache/tpcds-q75.test | 42 ++++ .../tpcds_tuple_cache/tpcds-q76.test | 13 ++ .../tpcds_tuple_cache/tpcds-q77.test | 110 +++++++--- .../tpcds_tuple_cache/tpcds-q78.test | 13 +- .../tpcds_tuple_cache/tpcds-q79.test | 9 + .../tpcds_tuple_cache/tpcds-q80.test | 44 +++- .../tpcds_tuple_cache/tpcds-q81.test | 14 ++ .../tpcds_tuple_cache/tpcds-q82.test | 10 + .../tpcds_tuple_cache/tpcds-q83.test | 89 +++++--- .../tpcds_tuple_cache/tpcds-q84.test | 10 + .../tpcds_tuple_cache/tpcds-q85.test | 17 ++ .../tpcds_tuple_cache/tpcds-q86.test | 7 + .../tpcds_tuple_cache/tpcds-q87.test | 17 +- .../tpcds_tuple_cache/tpcds-q88.test | 96 +++++++++ .../tpcds_tuple_cache/tpcds-q89.test | 9 + .../tpcds_tuple_cache/tpcds-q90.test | 56 +++-- .../tpcds_tuple_cache/tpcds-q91.test | 17 ++ .../tpcds_tuple_cache/tpcds-q92.test | 43 ++-- .../tpcds_tuple_cache/tpcds-q93.test | 5 + .../tpcds_tuple_cache/tpcds-q94.test | 14 ++ .../tpcds_tuple_cache/tpcds-q95.test | 17 ++ .../tpcds_tuple_cache/tpcds-q96.test | 12 ++ .../tpcds_tuple_cache/tpcds-q97.test | 6 + .../tpcds_tuple_cache/tpcds-q98.test | 7 + .../tpcds_tuple_cache/tpcds-q99.test | 11 + tests/custom_cluster/test_tuple_cache.py | 32 +-- 111 files changed, 2109 insertions(+), 270 deletions(-) diff --git a/be/src/scheduling/scheduler.cc b/be/src/scheduling/scheduler.cc index 07c5edfc9..facf4a602 100644 --- a/be/src/scheduling/scheduler.cc +++ b/be/src/scheduling/scheduler.cc @@ -206,22 +206,44 @@ Status Scheduler::ComputeScanRangeAssignment( bool node_random_replica = node.__isset.hdfs_scan_node && node.hdfs_scan_node.__isset.random_replica && node.hdfs_scan_node.random_replica; + bool node_schedule_oldest_to_newest = node.__isset.hdfs_scan_node + && node.hdfs_scan_node.__isset.schedule_scanranges_oldest_to_newest + && node.hdfs_scan_node.schedule_scanranges_oldest_to_newest; FragmentScanRangeAssignment* assignment = &state->GetFragmentScheduleState(fragment.idx)->scan_range_assignment; - const vector* locations = nullptr; + const vector* locations = &entry.second.concrete_ranges; vector expanded_locations; - if (entry.second.split_specs.empty()) { - // directly use the concrete ranges. - locations = &entry.second.concrete_ranges; - } else { - // union concrete ranges and expanded specs. + // Copy the ranges to a separate vector if: + // 1. There are split specs to union with the concrete ranges + // 2. We're scheduling oldest to newest and need to sort the ranges without + // changing the original vector + if (!entry.second.split_specs.empty() || node_schedule_oldest_to_newest) { + locations = &expanded_locations; expanded_locations.insert(expanded_locations.end(), entry.second.concrete_ranges.begin(), entry.second.concrete_ranges.end()); - RETURN_IF_ERROR( - GenerateScanRanges(entry.second.split_specs, &expanded_locations)); - locations = &expanded_locations; + // union concrete ranges and expanded specs + if (!entry.second.split_specs.empty()) { + RETURN_IF_ERROR( + GenerateScanRanges(entry.second.split_specs, &expanded_locations)); + } + } + if (node_schedule_oldest_to_newest) { + DCHECK_GE(expanded_locations.size(), + entry.second.concrete_ranges.size() + entry.second.split_specs.size()); + // This only makes sense for HDFS scan nodes + DCHECK(node.__isset.hdfs_scan_node); + // Sort the scan ranges by modification time ascending + std::sort(expanded_locations.begin(), expanded_locations.end(), + [](const TScanRangeLocationList& scanRange1, + const TScanRangeLocationList& scanRange2) { + DCHECK(scanRange1.scan_range.__isset.hdfs_file_split); + const THdfsFileSplit& split1 = scanRange1.scan_range.hdfs_file_split; + DCHECK(scanRange2.scan_range.__isset.hdfs_file_split); + const THdfsFileSplit& split2 = scanRange2.scan_range.hdfs_file_split; + return split1.mtime < split2.mtime; + }); } DCHECK(locations != nullptr); RETURN_IF_ERROR( diff --git a/common/thrift/PlanNodes.thrift b/common/thrift/PlanNodes.thrift index cd69160c3..f8f44fcff 100644 --- a/common/thrift/PlanNodes.thrift +++ b/common/thrift/PlanNodes.thrift @@ -357,6 +357,12 @@ struct THdfsScanNode { // each fragment instance has its own list of scan ranges. If false, // the fragment instances use a shared queue. 15: optional bool deterministic_scanrange_assignment + + // Whether the scheduler should schedule HDFS scan ranges from oldest to newest by + // sorting them by modification time. Scheduling in this order is more consistent + // when new files are being added to a table. For tuple caching, this can improve the + // cache hits by avoiding unnecessary disruption to the runtime keys. + 16: optional bool schedule_scanranges_oldest_to_newest } struct TDataSourceScanNode { diff --git a/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java b/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java index 0a14faa0a..f2e598c06 100644 --- a/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java +++ b/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java @@ -261,6 +261,11 @@ public class HdfsScanNode extends ScanNode { // This has no impact on mt_dop=0. private boolean deterministicScanRangeAssignment_ = false; + // True if this scan node should schedule scan ranges in order from oldest to + // newest. Scheduling in this order reduces the disruption when a new file is + // added to an existing table. + private boolean scheduleScanRangesOldestToNewest_ = false; + // True if this is a scan that only returns partition keys and is only required to // return at least one of each of the distinct values of the partition keys. private final boolean isPartitionKeyScan_; @@ -1873,13 +1878,13 @@ public class HdfsScanNode extends ScanNode { msg.hdfs_scan_node.setSkip_header_line_count(skipHeaderLineCount_); } msg.hdfs_scan_node.setUse_mt_scan_node(useMtScanNode_); - // The reason we skip setting the deterministic scan range assignment field for - // tuple cache is that has not been set yet at this point. At the point we are - // computing the tuple cache key, it is always false and has no information. - // Even if it was set, it would not tell us anything about the result set. + // These two fields are purely about scheduling policy, so they do not impact the + // compile-time key. They are also not set yet when the tuple cache key is computed. if (!serialCtx.isTupleCache()) { msg.hdfs_scan_node.setDeterministic_scanrange_assignment( deterministicScanRangeAssignment_); + msg.hdfs_scan_node.setSchedule_scanranges_oldest_to_newest( + scheduleScanRangesOldestToNewest_); } if (countStarSlot_ != null) { msg.hdfs_scan_node.setCount_star_slot_offset(countStarSlot_.getByteOffset()); @@ -1955,6 +1960,13 @@ public class HdfsScanNode extends ScanNode { .append(String.format("deterministic scan range assignment: %b\n", deterministicScanRangeAssignment_)); } + // Include information about scheduling scan ranges oldest to newest only if + // it is set. This is currently only used for tuple caching. + if (scheduleScanRangesOldestToNewest_) { + output.append(detailPrefix) + .append(String.format("schedule scan ranges oldest to newest: %b\n", + scheduleScanRangesOldestToNewest_)); + } if (!conjuncts_.isEmpty()) { output.append(detailPrefix) @@ -2656,6 +2668,14 @@ public class HdfsScanNode extends ScanNode { return deterministicScanRangeAssignment_; } + public void setScheduleScanRangesOldestToNewest(boolean enabled) { + scheduleScanRangesOldestToNewest_ = enabled; + } + + public boolean scheduleScanRangesOldestToNewest() { + return scheduleScanRangesOldestToNewest_; + } + // Remove any expression in 'exprs' that has matching equality predicate, // is-null predicate, or simple in-list predicate in statsOriginalConjuncts_. // Return NDV multiple of expression that are filtered out after considering diff --git a/fe/src/main/java/org/apache/impala/planner/TupleCacheNode.java b/fe/src/main/java/org/apache/impala/planner/TupleCacheNode.java index 71a807ae8..c76e66e34 100644 --- a/fe/src/main/java/org/apache/impala/planner/TupleCacheNode.java +++ b/fe/src/main/java/org/apache/impala/planner/TupleCacheNode.java @@ -67,6 +67,11 @@ public class TupleCacheNode extends PlanNode { for (HdfsScanNode scanNode : childTupleCacheInfo_.getInputScanNodes()) { // Inputs into the tuple cache need to use deterministic scan range assignment scanNode.setDeterministicScanRangeAssignment(true); + // To improve cache hits when data is appended to a table, modify scheduling + // to schedule in order of increasing modification time. This will limit the + // impact of a new scan range. For example, if there is only one new scan range, + // then only one node should have a different runtime cache key. + scanNode.setScheduleScanRangesOldestToNewest(true); inputScanNodeIds_.add(scanNode.getId().asInt()); } computeTupleIds(); diff --git a/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java b/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java index eaba873a6..7b6d3192b 100644 --- a/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java +++ b/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java @@ -469,18 +469,20 @@ public class TupleCacheTest extends PlannerTestBase { @Test public void testDeterministicScheduling() { // Verify that the HdfsScanNode that feeds into a TupleCacheNode uses deterministic - // scan range scheduling. When there are more ways for locations to be cache - // ineligible, this test will be expanded to cover the case where scan nodes don't - // use deterministic scheduling. + // scan range scheduling and oldest to newest scheduling. When there are more + // ways for locations to be cache ineligible, this test will be expanded to cover the + // case where scan nodes don't use deterministic scheduling / oldest to newest. List cacheEligibleNodes = getCacheEligibleNodes("select id from functional.alltypes where int_col = 500"); for (PlanNode node : cacheEligibleNodes) { - // The HdfsScanNode for this query will have determinstic scan range assignment set - // This test uses mt_dop=0, so the value wouldn't matter for execution, but it - // still verifies that it is set properly. + // The HdfsScanNode for this query will have determinstic scan range assignment and + // oldest to newest scheduling set. This test uses mt_dop=0, so the deterministic + // scheduling value wouldn't matter for execution, but it still verifies that it is + // set properly. if (node instanceof HdfsScanNode) { HdfsScanNode hdfsScanNode = (HdfsScanNode) node; assertTrue(hdfsScanNode.usesDeterministicScanRangeAssignment()); + assertTrue(hdfsScanNode.scheduleScanRangesOldestToNewest()); } } } diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/ddl.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/ddl.test index 2f8694809..cf91fa35d 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/ddl.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/ddl.test @@ -26,6 +26,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] 00:SCAN HDFS [functional.alltypes] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -68,6 +69,7 @@ max-parallelism=10 segment-costs=[62944] 00:SCAN HDFS [functional.alltypes, RANDOM] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -93,7 +95,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] | mem-estimate=221B mem-reservation=0B thread-reservation=0 cost=3621916 | 07:TUPLE CACHE -| cache key: 4e8437e0d41ba7bb619673ef008e7e91 +| cache key: 89f349da969161a4392a5eb15fd9317f | input scan node ids: 0,1 | estimated serialized size: 273B | estimated serialized size per node: 27B @@ -111,7 +113,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] | in pipelines: 03(GETNEXT), 00(OPEN) | 06:TUPLE CACHE -| cache key: 768fd84d79652eb391d1b9a1c58753bb +| cache key: d854334e882191f1850f630d53cf6a52 | input scan node ids: 0,1 | estimated serialized size: 429B | estimated serialized size per node: 42B @@ -146,6 +148,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] | partition predicates: b.`month` = CAST(2 AS INT) | HDFS partitions=1/4 files=1 size=1.58KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=100 size=6.32KB | partitions: 1/1 rows=25 @@ -156,7 +159,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] | in pipelines: 01(GETNEXT) | 04:TUPLE CACHE -| cache key: 7bb8e2a858ec75313b864cfe1c4a4e6f +| cache key: dcfaf0dd9db4f9e48346f66c018f9b76 | input scan node ids: 0 | estimated serialized size: 89.11KB | estimated serialized size per node: 8.91KB @@ -171,6 +174,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] partition predicates: a.`year` = CAST(2009 AS INT) HDFS partitions=12/24 files=12 size=238.68KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF000[bloom] -> a.id stored statistics: table: rows=7.30K size=478.45KB @@ -207,7 +211,7 @@ Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-res Per-Instance Resources: mem-estimate=38.08MB mem-reservation=14.03MB thread-reservation=1 max-parallelism=10 segment-costs=[9666, 20] cpu-comparison-result=11 [max(10 (self) vs 11 (sum children))] 10:TUPLE CACHE -| cache key: 8299471539153599d0f44404bd572e63 +| cache key: 29c1b3e6e5fd5e3abdb24c53f7946183 | input scan node ids: 0 | estimated serialized size: 273B | estimated serialized size per node: 27B @@ -225,7 +229,7 @@ max-parallelism=10 segment-costs=[9666, 20] cpu-comparison-result=11 [max(10 (se | in pipelines: 00(GETNEXT) | 09:TUPLE CACHE -| cache key: 6d91c292f1c154c2042d1605389c0440 +| cache key: 6092feea7102cf822b1014338cbbfb4f | input scan node ids: 0 | estimated serialized size: 429B | estimated serialized size per node: 42B @@ -277,6 +281,7 @@ max-parallelism=10 segment-costs=[9666, 20] cpu-comparison-result=11 [max(10 (se | partition predicates: b.`month` = CAST(2 AS INT) | HDFS partitions=1/4 files=1 size=1.58KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=100 size=6.32KB | partitions: 1/1 rows=25 @@ -287,7 +292,7 @@ max-parallelism=10 segment-costs=[9666, 20] cpu-comparison-result=11 [max(10 (se | in pipelines: 01(GETNEXT) | 07:TUPLE CACHE -| cache key: 6a50d18a98795cc3f86b2abe97b121a2 +| cache key: 1be59b310c281a24c8566057f9c130e8 | input scan node ids: 0 | estimated serialized size: 89.11KB | estimated serialized size per node: 8.91KB @@ -302,6 +307,7 @@ max-parallelism=10 segment-costs=[9666, 20] cpu-comparison-result=11 [max(10 (se partition predicates: a.`year` = CAST(2009 AS INT) HDFS partitions=12/24 files=12 size=238.68KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF000[bloom] -> a.id stored statistics: table: rows=7.30K size=478.45KB @@ -464,6 +470,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] 00:SCAN HDFS [functional.alltypestiny] HDFS partitions=4/4 files=4 size=460B deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8 size=460B partitions: 4/4 rows=8 @@ -515,6 +522,7 @@ max-parallelism=4 segment-costs=[29, 0] 00:SCAN HDFS [functional.alltypestiny, RANDOM] HDFS partitions=4/4 files=4 size=460B deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8 size=460B partitions: 4/4 rows=8 @@ -560,6 +568,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] 00:SCAN HDFS [functional.alltypestiny] HDFS partitions=4/4 files=4 size=460B deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8 size=460B partitions: 4/4 rows=8 @@ -611,6 +620,7 @@ max-parallelism=4 segment-costs=[29, 0] 00:SCAN HDFS [functional.alltypestiny, RANDOM] HDFS partitions=4/4 files=4 size=460B deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8 size=460B partitions: 4/4 rows=8 @@ -655,6 +665,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false] 00:SCAN HDFS [functional.alltypes] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -703,6 +714,7 @@ max-parallelism=10 segment-costs=[62944] 00:SCAN HDFS [functional.alltypes, RANDOM] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -747,6 +759,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS 00:SCAN HDFS [functional.alltypes] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -795,6 +808,7 @@ max-parallelism=10 segment-costs=[62944] 00:SCAN HDFS [functional.alltypes, RANDOM] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -846,6 +860,7 @@ max-parallelism=10 segment-costs=[62944] 00:SCAN HDFS [functional.alltypes, RANDOM] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -896,6 +911,7 @@ max-parallelism=10 segment-costs=[62944] 00:SCAN HDFS [functional.alltypes, RANDOM] HDFS partitions=24/24 files=24 size=478.45KB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=7.30K size=478.45KB partitions: 24/24 rows=7.30K @@ -929,7 +945,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS | in pipelines: 04(GETNEXT), 03(OPEN) | 08:TUPLE CACHE -| cache key: 5ce44149bb5c81be120f796766ab013d +| cache key: c187d7b049442e572c2b1019065a6abc | input scan node ids: 0,1 | estimated serialized size: 3.15MB | estimated serialized size per node: 1.57MB @@ -948,7 +964,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS | in pipelines: 03(GETNEXT), 00(OPEN) | 07:TUPLE CACHE -| cache key: 331dbec25b9283e2a5af31415d97bb81 +| cache key: 4fc6ab4227340a39e2041a7783a7c8c1 | input scan node ids: 0,1 | estimated serialized size: 7.41MB | estimated serialized size per node: 3.71MB @@ -982,6 +998,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS | 01:SCAN HDFS [tpch.customer] | HDFS partitions=1/1 files=1 size=23.08MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: c_nationkey < CAST(10 AS SMALLINT) | stored statistics: | table: rows=150.00K size=23.08MB @@ -992,7 +1009,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS | in pipelines: 01(GETNEXT) | 05:TUPLE CACHE -| cache key: 8310644f189aa574a97e008385767db3 +| cache key: 1aa7fe675bff4e543d21e63a429572af | input scan node ids: 0 | estimated serialized size: 28.61MB | estimated serialized size per node: 14.31MB @@ -1006,6 +1023,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.t, OVERWRITE=false, PARTITION-KEYS 00:SCAN HDFS [tpch.orders] HDFS partitions=1/1 files=1 size=162.56MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF000[bloom] -> o_custkey stored statistics: table: rows=1.50M size=162.56MB @@ -1056,7 +1074,7 @@ Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-res Per-Instance Resources: mem-estimate=38.17MB mem-reservation=25.00MB thread-reservation=1 max-parallelism=2 segment-costs=[7499075, 267937] cpu-comparison-result=3 [max(2 (self) vs 3 (sum children))] 12:TUPLE CACHE -| cache key: 595303d6a82ff6cbe552f87c2917c40c +| cache key: a6f9ec361b25c05eb2c60b52dd40f02d | input scan node ids: 0 | estimated serialized size: 3.36MB | estimated serialized size per node: 1.68MB @@ -1075,7 +1093,7 @@ max-parallelism=2 segment-costs=[7499075, 267937] cpu-comparison-result=3 [max(2 | in pipelines: 00(GETNEXT) | 11:TUPLE CACHE -| cache key: 2e5e647f00b10107ed9b14d4295d422c +| cache key: f2ab66f35f71a00699252a8674e2ec9d | input scan node ids: 0 | estimated serialized size: 7.41MB | estimated serialized size per node: 3.71MB @@ -1126,6 +1144,7 @@ max-parallelism=2 segment-costs=[7499075, 267937] cpu-comparison-result=3 [max(2 | 01:SCAN HDFS [tpch.customer, RANDOM] | HDFS partitions=1/1 files=1 size=23.08MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: c_nationkey < CAST(10 AS SMALLINT) | stored statistics: | table: rows=150.00K size=23.08MB @@ -1136,7 +1155,7 @@ max-parallelism=2 segment-costs=[7499075, 267937] cpu-comparison-result=3 [max(2 | in pipelines: 01(GETNEXT) | 09:TUPLE CACHE -| cache key: 3d784b6bccae4e83dcf0209e1faa1314 +| cache key: 50a9d47ec2455a48aa56887c985d602d | input scan node ids: 0 | estimated serialized size: 28.61MB | estimated serialized size per node: 14.31MB @@ -1150,6 +1169,7 @@ max-parallelism=2 segment-costs=[7499075, 267937] cpu-comparison-result=3 [max(2 00:SCAN HDFS [tpch.orders, RANDOM] HDFS partitions=1/1 files=1 size=162.56MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF000[bloom] -> o_custkey stored statistics: table: rows=1.50M size=162.56MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-iceberg.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-iceberg.test index 9bba63810..5396b7ced 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-iceberg.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-iceberg.test @@ -73,7 +73,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.store_sales_unpartitioned_medium, table: rows=8.64G size=389.90GB partitions: 93/93 rows=246.09M columns: all - extrapolated-rows=disabled max-scan-range-rows=119.03M + extrapolated-rows=disabled max-scan-range-rows=117.22M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=246.09M cost=340198429 in pipelines: 00(GETNEXT) @@ -110,7 +110,7 @@ max-parallelism=93 segment-costs=[1988428320] table: rows=8.64G size=389.90GB partitions: 93/93 rows=246.09M columns: all - extrapolated-rows=disabled max-scan-range-rows=119.03M + extrapolated-rows=disabled max-scan-range-rows=117.22M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=246.09M cost=340198429 in pipelines: 00(GETNEXT) @@ -254,6 +254,7 @@ max-parallelism=10 segment-costs=[5604, 2349] 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8.64G size=389.90GB partitions: 1824/1824 rows=8.64G @@ -364,7 +365,7 @@ max-parallelism=83 segment-costs=[1767513380] table: rows=8.64G size=389.90GB partitions: 83/83 rows=218.75M columns: all - extrapolated-rows=disabled max-scan-range-rows=133.91M + extrapolated-rows=disabled max-scan-range-rows=131.97M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=218.75M cost=302402289 in pipelines: 00(GETNEXT) @@ -405,7 +406,7 @@ max-parallelism=4 segment-costs=[91371298] table: rows=8.64G size=389.90GB partitions: 4/4 rows=11.31M columns: all - extrapolated-rows=disabled max-scan-range-rows=2.61G + extrapolated-rows=disabled max-scan-range-rows=2.55G mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=11.31M cost=15632634 in pipelines: 00(GETNEXT) @@ -784,7 +785,7 @@ F00:PLAN FRAGMENT [RANDOM] hosts=10 instances=120 Per-Instance Resources: mem-estimate=20.06MB mem-reservation=8.00MB thread-reservation=1 max-parallelism=120 segment-costs=[1200000000] 00:SCAN HDFS [tpcds_seq_snap.store_sales, RANDOM] - HDFS partitions=1824/1824 files=1824 size=215.99MB + HDFS partitions=1824/1824 files=1824 size=215.93MB stored statistics: table: rows=unavailable size=unavailable partitions: 0/1824 rows=unavailable diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-parquet.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-parquet.test index 610240505..033f1942c 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-parquet.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-ddl-parquet.test @@ -76,7 +76,7 @@ WRITE TO HDFS [tpcds_partitioned_parquet_snap.store_sales_unpartitioned_medium, table: rows=8.64G size=389.90GB partitions: 93/93 rows=246.09M columns: all - extrapolated-rows=disabled max-scan-range-rows=119.03M + extrapolated-rows=disabled max-scan-range-rows=117.22M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=246.09M cost=340198429 in pipelines: 00(GETNEXT) @@ -114,7 +114,7 @@ max-parallelism=93 segment-costs=[1988428320] table: rows=8.64G size=389.90GB partitions: 93/93 rows=246.09M columns: all - extrapolated-rows=disabled max-scan-range-rows=119.03M + extrapolated-rows=disabled max-scan-range-rows=117.22M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=246.09M cost=340198429 in pipelines: 00(GETNEXT) @@ -261,6 +261,7 @@ max-parallelism=10 segment-costs=[5604, 2349] 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8.64G size=389.90GB partitions: 1824/1824 rows=8.64G @@ -373,7 +374,7 @@ max-parallelism=83 segment-costs=[1767513380] table: rows=8.64G size=389.90GB partitions: 83/83 rows=218.75M columns: all - extrapolated-rows=disabled max-scan-range-rows=133.91M + extrapolated-rows=disabled max-scan-range-rows=131.97M mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=218.75M cost=302402289 in pipelines: 00(GETNEXT) @@ -415,7 +416,7 @@ max-parallelism=4 segment-costs=[91371298] table: rows=8.64G size=389.90GB partitions: 4/4 rows=11.31M columns: all - extrapolated-rows=disabled max-scan-range-rows=2.61G + extrapolated-rows=disabled max-scan-range-rows=2.55G mem-estimate=16.00MB mem-reservation=176.00KB thread-reservation=0 tuple-ids=0 row-size=96B cardinality=11.31M cost=15632634 in pipelines: 00(GETNEXT) @@ -801,7 +802,7 @@ F00:PLAN FRAGMENT [RANDOM] hosts=10 instances=120 Per-Instance Resources: mem-estimate=20.06MB mem-reservation=8.00MB thread-reservation=1 max-parallelism=120 segment-costs=[1200000000] 00:SCAN HDFS [tpcds_seq_snap.store_sales, RANDOM] - HDFS partitions=1824/1824 files=1824 size=215.99MB + HDFS partitions=1824/1824 files=1824 size=215.93MB stored statistics: table: rows=unavailable size=unavailable partitions: 0/1824 rows=unavailable diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q01.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q01.test index 011a4cc65..74aa31f95 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q01.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q01.test @@ -41,7 +41,7 @@ PLAN-ROOT SINK | in pipelines: 14(GETNEXT), 05(OPEN) | 19:TUPLE CACHE -| cache key: 3464f97232593cfa9f9632e1fa804f92 +| cache key: 322d85c75e9718631437eb90daac503b | input scan node ids: 5,0,1,4,6,7 | estimated serialized size: 833.30MB | estimated serialized size per node: 83.33MB @@ -61,7 +61,7 @@ PLAN-ROOT SINK | in pipelines: 05(GETNEXT), 10(OPEN) | |--18:TUPLE CACHE -| | cache key: d975df7358a9b9263f516754e811b766 +| | cache key: 15abd163b875d6da33c9dec44a261738 | | input scan node ids: 6,7 | | estimated serialized size: 15.30KB | | estimated serialized size per node: 1.53KB @@ -109,6 +109,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -123,6 +124,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> sr_returned_date_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -150,7 +152,7 @@ PLAN-ROOT SINK | | in pipelines: 03(GETNEXT), 04(OPEN) | | | |--16:TUPLE CACHE -| | | cache key: 9eb7b9bfb2906530a439edd9747618b1 +| | | cache key: bdc16763f97b44cccab5b9175888557d | | | input scan node ids: 4 | | | estimated serialized size: 1012B | | | estimated serialized size per node: 1012B @@ -164,6 +166,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_state = 'TN' | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store.s_store_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store.s_store_sk | | stored statistics: @@ -206,6 +209,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -220,6 +224,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF005[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF006[bloom] -> sr_returned_date_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -233,6 +238,7 @@ PLAN-ROOT SINK 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] HDFS partitions=1/1 files=1 size=1.55GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> c_customer_sk, RF002[bloom] -> c_customer_sk stored statistics: table: rows=30.00M size=1.55GB @@ -377,6 +383,7 @@ max-parallelism=20 segment-costs=[145321673, 104] cpu-comparison-result=231 [max | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -528,6 +535,7 @@ max-parallelism=20 segment-costs=[145321673, 104] cpu-comparison-result=231 [max | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -706,6 +714,7 @@ max-parallelism=20 segment-costs=[145321673, 104] cpu-comparison-result=231 [max | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -857,6 +866,7 @@ max-parallelism=20 segment-costs=[145321673, 104] cpu-comparison-result=231 [max | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q02.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q02.test index 3ad637cdc..8aff6e027 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q02.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q02.test @@ -76,7 +76,7 @@ PLAN-ROOT SINK | in pipelines: 17(GETNEXT), 05(OPEN) | 24:TUPLE CACHE -| cache key: 7e01fcabe46f2928038bce908db571f3 +| cache key: 57d381af072d3df0bfb68437f0aadbc0 | input scan node ids: 1,2,3,6,9,10,11,14 | estimated serialized size: 660.00KB | estimated serialized size per node: 66.00KB @@ -96,7 +96,7 @@ PLAN-ROOT SINK | in pipelines: 05(GETNEXT), 13(OPEN) | |--23:TUPLE CACHE -| | cache key: 3a362f84d4f9ad1d962a7d81b3fa5d00 +| | cache key: becf40e2727e3428e36e02c850df85f8 | | input scan node ids: 9,10,11,14 | | estimated serialized size: 330.00KB | | estimated serialized size per node: 33.00KB @@ -130,6 +130,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -142,7 +143,7 @@ PLAN-ROOT SINK | | in pipelines: 14(GETNEXT) | | | 21:TUPLE CACHE -| | cache key: ee03d8782427908e37a8923be450ca2a +| | cache key: 47a94cb5df1a4d1eafcde620ea418e06 | | input scan node ids: 9,10,11 | | estimated serialized size: 1.22MB | | estimated serialized size per node: 124.71KB @@ -171,6 +172,7 @@ PLAN-ROOT SINK | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF007[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF006[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -189,6 +191,7 @@ PLAN-ROOT SINK | |--10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -202,6 +205,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -213,7 +217,7 @@ PLAN-ROOT SINK | in pipelines: 09(GETNEXT) | 20:TUPLE CACHE -| cache key: 9aef10ab092234b8cbca9c113b466a31 +| cache key: 910a4852c83b3f7a816c9236c1a6c8b0 | input scan node ids: 1,2,3,6 | estimated serialized size: 330.00KB | estimated serialized size per node: 33.00KB @@ -233,7 +237,7 @@ PLAN-ROOT SINK | in pipelines: 05(GETNEXT), 06(OPEN) | |--19:TUPLE CACHE -| | cache key: 338f3f4d6b462b91bb22344145a15f28 +| | cache key: c5ecb19e838d28d46bef24512377919d | | input scan node ids: 6 | | estimated serialized size: 4.37KB | | estimated serialized size per node: 4.37KB @@ -247,6 +251,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT) | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF000[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq | stored statistics: @@ -260,7 +265,7 @@ PLAN-ROOT SINK | in pipelines: 06(GETNEXT) | 18:TUPLE CACHE -| cache key: f548671f19cb71f02ec3a45d5ea26e74 +| cache key: 625bcb52217bf5af80c74deb0864cf88 | input scan node ids: 1,2,3 | estimated serialized size: 1.22MB | estimated serialized size per node: 124.71KB @@ -289,6 +294,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF003[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF000[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF002[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq | stored statistics: | table: rows=73.05K size=2.17MB @@ -307,6 +313,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -320,6 +327,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF004[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -419,6 +427,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -447,7 +456,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=8.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[8203179637, 10197930] cpu-comparison-result=120 [max(120 (self) vs 11 (sum children))] | 28:TUPLE CACHE -| | cache key: 8ed4943a1c1e05ec1e038827ab4ea50e +| | cache key: f0d5c05f5e7ab3346f8033a8ded98f78 | | input scan node ids: 9,10 | | estimated serialized size: 146.15MB | | estimated serialized size per node: 14.61MB @@ -511,6 +520,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | |--10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -524,6 +534,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -753,6 +764,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -781,7 +793,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=8.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[8203179637, 10197930] cpu-comparison-result=120 [max(120 (self) vs 11 (sum children))] | 28:TUPLE CACHE -| | cache key: 8ed4943a1c1e05ec1e038827ab4ea50e +| | cache key: f0d5c05f5e7ab3346f8033a8ded98f78 | | input scan node ids: 9,10 | | estimated serialized size: 146.15MB | | estimated serialized size per node: 14.61MB @@ -845,6 +857,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | |--10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -858,6 +871,7 @@ max-parallelism=10 segment-costs=[1760943, 30745, 16097] cpu-comparison-result=2 | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q03.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q03.test index aa3f464bb..55311ba66 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q03.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q03.test @@ -78,6 +78,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -112,6 +113,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manufact_id = CAST(816 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -138,6 +140,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -248,6 +251,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -299,6 +303,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manufact_id = CAST(816 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -325,6 +330,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -435,6 +441,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -486,6 +493,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manufact_id = CAST(816 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -512,6 +520,7 @@ max-parallelism=160 segment-costs=[1553951857, 34850578] cpu-comparison-result=1 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q04.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q04.test index cb5efdd2b..ba5d28dad 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q04.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q04.test @@ -194,6 +194,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -280,6 +281,7 @@ PLAN-ROOT SINK | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -365,6 +367,7 @@ PLAN-ROOT SINK | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -450,6 +453,7 @@ PLAN-ROOT SINK | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -535,6 +539,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -613,6 +618,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -799,6 +805,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -960,6 +967,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1120,6 +1128,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1280,6 +1289,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1440,6 +1450,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1584,6 +1595,7 @@ max-parallelism=374 segment-costs=[6845578389] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1770,6 +1782,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1931,6 +1944,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2091,6 +2105,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2251,6 +2266,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2411,6 +2427,7 @@ max-parallelism=1030 segment-costs=[10231383661, 253] cpu-comparison-result=1440 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2555,6 +2572,7 @@ max-parallelism=374 segment-costs=[6845578389] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q05.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q05.test index bf31c5498..d3c2d7dc4 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q05.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q05.test @@ -144,7 +144,7 @@ PLAN-ROOT SINK | in pipelines: 29(GETNEXT), 28(OPEN) | 38:TUPLE CACHE -| cache key: 4245a052541e2b55ae904c09f9d3fd1c +| cache key: 6e49530bbc70b30e81c23b4f97f8e0ca | input scan node ids: 2,3,4,5,10,11,12,13,18,20,19,22,23 | estimated serialized size: 2.80MB | estimated serialized size per node: 286.84KB @@ -163,7 +163,7 @@ PLAN-ROOT SINK | in pipelines: 28(GETNEXT), 27(OPEN) | 37:TUPLE CACHE -| cache key: d06a88f260e92d8b2da29236eccc8aae +| cache key: faa768d295afbba33518c7b0b67ac48c | input scan node ids: 2,3,4,5,10,11,12,13,18,20,19,22,23 | estimated serialized size: 7.98MB | estimated serialized size per node: 817.48KB @@ -194,7 +194,7 @@ PLAN-ROOT SINK | in pipelines: 08(GETNEXT), 16(GETNEXT), 26(GETNEXT) | |--36:TUPLE CACHE -| | cache key: 06a62fb778189efed0c65fac5f1e0140 +| | cache key: 8f759bba7cc0e75730adcde1e2394837 | | input scan node ids: 18,20,19,22,23 | | estimated serialized size: 3.09KB | | estimated serialized size per node: 316B @@ -223,6 +223,7 @@ PLAN-ROOT SINK | |--23:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site] | | HDFS partitions=1/1 files=1 size=17.88KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=66 size=17.88KB | | columns: all @@ -232,7 +233,7 @@ PLAN-ROOT SINK | | in pipelines: 23(GETNEXT) | | | 35:TUPLE CACHE -| | cache key: e1724cb65660894995b7827a63027dc7 +| | cache key: b1ce353253384fc2b76f1df1086f1e7b | | input scan node ids: 18,20,19,22 | | estimated serialized size: 345.24MB | | estimated serialized size per node: 34.52MB @@ -266,6 +267,7 @@ PLAN-ROOT SINK | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -293,6 +295,7 @@ PLAN-ROOT SINK | | |--19:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF010[bloom] -> tpcds_partitioned_parquet_snap.web_returns.wr_returned_date_sk | | | stored statistics: | | | table: rows=216.00M size=16.74GB @@ -306,6 +309,7 @@ PLAN-ROOT SINK | | 20:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF014[min_max] -> ws_item_sk, RF015[min_max] -> ws_order_number, RF009[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_web_site_sk, RF012[bloom] -> ws_item_sk, RF013[bloom] -> ws_order_number, RF008[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_web_site_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -319,6 +323,7 @@ PLAN-ROOT SINK | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_web_site_sk, RF010[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk, RF008[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_web_site_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -330,7 +335,7 @@ PLAN-ROOT SINK | in pipelines: 18(GETNEXT) | |--33:TUPLE CACHE -| | cache key: dfea08ccd64a987b0ebfbabd4abc3c5a +| | cache key: 846ca9ab50aaf1e86288fad001794e0c | | input scan node ids: 10,11,12,13 | | estimated serialized size: 3.30MB | | estimated serialized size per node: 337.50KB @@ -359,6 +364,7 @@ PLAN-ROOT SINK | |--13:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_page] | | HDFS partitions=1/1 files=1 size=2.24MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=36.00K size=2.24MB | | columns: all @@ -390,6 +396,7 @@ PLAN-ROOT SINK | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -409,6 +416,7 @@ PLAN-ROOT SINK | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_returned_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -422,6 +430,7 @@ PLAN-ROOT SINK | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -433,7 +442,7 @@ PLAN-ROOT SINK | in pipelines: 10(GETNEXT) | 31:TUPLE CACHE -| cache key: b1e96eb5039c201d496dc28df3e5c160 +| cache key: 9310b49749a278a50eec9a3a6a7e2606 | input scan node ids: 2,3,4,5 | estimated serialized size: 63.56KB | estimated serialized size per node: 6.36KB @@ -462,6 +471,7 @@ PLAN-ROOT SINK |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -493,6 +503,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | stored statistics: | table: rows=73.05K size=2.17MB @@ -512,6 +523,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_returned_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -525,6 +537,7 @@ PLAN-ROOT SINK 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk stored statistics: table: rows=8.64G size=389.90GB @@ -706,6 +719,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -810,7 +824,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | Per-Instance Resources: mem-estimate=75.00MB mem-reservation=10.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[2827018858, 27048772] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] | 50:TUPLE CACHE -| | cache key: ed78d76df5b59878de331c5d2608ce2f +| | cache key: 8f95dee480c8350ed3d4aec2ff198d13 | | input scan node ids: 10,11 | | estimated serialized size: 384.53MB | | estimated serialized size per node: 38.45MB @@ -903,6 +917,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -922,6 +937,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_returned_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -935,6 +951,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -962,7 +979,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=75.00MB mem-reservation=14.00MB thread-reservation=1 max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] 48:TUPLE CACHE -| cache key: 6b7b6e60a91ed1a68ca92a7b04af8fc5 +| cache key: 3052f4cf1c77706407a24ca496930f0d | input scan node ids: 2,3 | estimated serialized size: 7.45MB | estimated serialized size per node: 762.75KB @@ -1055,6 +1072,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | stored statistics: | table: rows=73.05K size=2.17MB @@ -1074,6 +1092,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_returned_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -1087,6 +1106,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk stored statistics: table: rows=8.64G size=389.90GB @@ -1268,6 +1288,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1372,7 +1393,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | Per-Instance Resources: mem-estimate=75.00MB mem-reservation=10.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[2827018858, 27048772] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] | 50:TUPLE CACHE -| | cache key: ed78d76df5b59878de331c5d2608ce2f +| | cache key: 8f95dee480c8350ed3d4aec2ff198d13 | | input scan node ids: 10,11 | | estimated serialized size: 384.53MB | | estimated serialized size per node: 38.45MB @@ -1465,6 +1486,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1484,6 +1506,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_returned_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_catalog_page_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -1497,6 +1520,7 @@ max-parallelism=120 segment-costs=[86121, 4448543, 4190, 344492, 574824] cpu-com | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_catalog_page_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1524,7 +1548,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=75.00MB mem-reservation=14.00MB thread-reservation=1 max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] 48:TUPLE CACHE -| cache key: 6b7b6e60a91ed1a68ca92a7b04af8fc5 +| cache key: 3052f4cf1c77706407a24ca496930f0d | input scan node ids: 2,3 | estimated serialized size: 7.45MB | estimated serialized size per node: 762.75KB @@ -1617,6 +1641,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-09-02', d_date >= DATE '2000-08-19' | stored statistics: | table: rows=73.05K size=2.17MB @@ -1636,6 +1661,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_returned_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -1649,6 +1675,7 @@ max-parallelism=120 segment-costs=[5637342561, 523958] cpu-comparison-result=120 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q06.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q06.test index f88dc8cc3..182ffffcb 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q06.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q06.test @@ -77,6 +77,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.item j] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -120,6 +121,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -329,6 +331,7 @@ max-parallelism=1750 segment-costs=[17411124290, 11823] cpu-comparison-result=12 | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.item j, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -413,6 +416,7 @@ max-parallelism=1750 segment-costs=[17411124290, 11823] cpu-comparison-result=12 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -693,6 +697,7 @@ max-parallelism=1750 segment-costs=[17411124290, 11823] cpu-comparison-result=12 | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.item j, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -777,6 +782,7 @@ max-parallelism=1750 segment-costs=[17411124290, 11823] cpu-comparison-result=12 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q07.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q07.test index 230028981..b3e3e12bf 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q07.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q07.test @@ -66,6 +66,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | HDFS partitions=1/1 files=1 size=100.50KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (p_channel_email = 'N' OR p_channel_event = 'N') | stored statistics: | table: rows=1.80K size=100.50KB @@ -86,6 +87,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -117,6 +119,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -151,6 +154,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'W', cd_gender = 'F', cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB @@ -165,6 +169,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_promo_sk, RF003[min_max] -> ss_item_sk, RF007[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_promo_sk, RF002[bloom] -> ss_item_sk, RF004[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_cdemo_sk stored statistics: table: rows=8.64G size=389.90GB @@ -334,6 +339,7 @@ max-parallelism=120 segment-costs=[1132853166, 95681666] cpu-comparison-result=1 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -385,6 +391,7 @@ max-parallelism=120 segment-costs=[1132853166, 95681666] cpu-comparison-result=1 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'W', cd_gender = 'F', cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB @@ -567,6 +574,7 @@ max-parallelism=120 segment-costs=[1132853166, 95681666] cpu-comparison-result=1 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -618,6 +626,7 @@ max-parallelism=120 segment-costs=[1132853166, 95681666] cpu-comparison-result=1 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'W', cd_gender = 'F', cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q08.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q08.test index 8533f76d9..e9f85b38b 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q08.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q08.test @@ -211,6 +211,7 @@ PLAN-ROOT SINK | | |--06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: c_preferred_cust_flag = 'Y' | | | stored statistics: | | | table: rows=30.00M size=1.55GB @@ -225,6 +226,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF007[min_max] -> ca_address_sk, RF006[bloom] -> ca_address_sk | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -267,6 +269,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: substr(ca_zip, CAST(1 AS BIGINT), CAST(5 AS BIGINT)) IN ('47602', '16704', '35863', '28577', '83910', '36201', '58412', '48162', '28055', '41419', '80332', '38607', '77817', '24891', '16226', '18410', '21231', '59345', '13918', '51089', '20317', '17167', '54585', '67881', '78366', '47770', '18360', '51717', '73108', '14440', '21800', '89338', '45859', '65501', '34948', '25973', '73219', '25333', '17291', '10374', '18829', '60736', '82620', '41351', '52094', '19326', '25214', '54207', '40936', '21814', '79077', '25178', '75742', '77454', '30621', '89193', '27369', '41232', '48567', '83041', '71948', '37119', '68341', '14073', '16891', '62878', '49130', '19833', '24286', '27700', '40979', '50412', '81504', '94835', '84844', '71954', '39503', '57649', '18434', '24987', '12350', '86379', '27413', '44529', '98569', '16515', '27287', '24255', '21094', '16005', '56436', '91110', '68293', '56455', '54558', '10298', '83647', '32754', '27052', '51766', '19444', '13869', '45645', '94791', '57631', '20712', '37788', '41807', '46507', '21727', '71836', '81070', '50632', '88086', '63991', '20244', '31655', '51782', '29818', '63792', '68605', '94898', '36430', '57025', '20601', '82080', '33869', '22728', '35834', '29086', '92645', '98584', '98072', '11652', '78093', '57553', '43830', '71144', '53565', '18700', '90209', '71256', '38353', '54364', '28571', '96560', '57839', '56355', '50679', '45266', '84680', '34306', '34972', '48530', '30106', '15371', '92380', '84247', '92292', '68852', '13338', '34594', '82602', '70073', '98069', '85066', '47289', '11686', '98862', '26217', '47529', '63294', '51793', '35926', '24227', '14196', '24594', '32489', '99060', '49472', '43432', '49211', '14312', '88137', '47369', '56877', '20534', '81755', '15794', '12318', '21060', '73134', '41255', '63073', '81003', '73873', '66057', '51184', '51195', '45676', '92696', '70450', '90669', '98338', '25264', '38919', '59226', '58581', '60298', '17895', '19489', '52301', '80846', '95464', '68770', '51634', '19988', '18367', '18421', '11618', '67975', '25494', '41352', '95430', '15734', '62585', '97173', '33773', '10425', '75675', '53535', '17879', '41967', '12197', '67998', '79658', '59130', '72592', '14851', '43933', '68101', '50636', '25717', '71286', '24660', '58058', '72991', '95042', '15543', '33122', '69280', '11912', '59386', '27642', '65177', '17672', '33467', '64592', '36335', '54010', '18767', '63193', '42361', '49254', '33113', '33159', '36479', '59080', '11855', '81963', '31016', '49140', '29392', '41836', '32958', '53163', '13844', '73146', '23952', '65148', '93498', '14530', '46131', '58454', '13376', '13378', '83986', '12320', '17193', '59852', '46081', '98533', '52389', '13086', '68843', '31013', '13261', '60560', '13443', '45533', '83583', '11489', '58218', '19753', '22911', '25115', '86709', '27156', '32669', '13123', '51933', '39214', '41331', '66943', '14155', '69998', '49101', '70070', '35076', '14242', '73021', '59494', '15782', '29752', '37914', '74686', '83086', '34473', '15751', '81084', '49230', '91894', '60624', '17819', '28810', '63180', '56224', '39459', '55233', '75752', '43639', '55349', '86057', '62361', '50788', '31830', '58062', '18218', '85761', '60083', '45484', '21204', '90229', '70041', '41162', '35390', '16364', '39500', '68908', '26689', '52868', '81335', '40146', '11340', '61527', '61794', '71997', '30415', '59004', '29450', '58117', '69952', '33562', '83833', '27385', '61860', '96435', '48333', '23065', '32961', '84919', '61997', '99132', '22815', '56600', '68730', '48017', '95694', '32919', '88217', '27116', '28239', '58032', '18884', '16791', '21343', '97462', '18569', '75660', '15475') | stored statistics: | table: rows=15.00M size=307.36MB @@ -288,6 +291,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF000[bloom] -> substr(s_zip, 1, 2) | stored statistics: | table: rows=1.35K size=119.76KB @@ -320,6 +324,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -334,6 +339,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ss_store_sk, RF002[bloom] -> ss_store_sk, RF004[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -560,6 +566,7 @@ max-parallelism=160 segment-costs=[1566855374, 3086] cpu-comparison-result=120 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: substr(ca_zip, CAST(1 AS BIGINT), CAST(5 AS BIGINT)) IN ('47602', '16704', '35863', '28577', '83910', '36201', '58412', '48162', '28055', '41419', '80332', '38607', '77817', '24891', '16226', '18410', '21231', '59345', '13918', '51089', '20317', '17167', '54585', '67881', '78366', '47770', '18360', '51717', '73108', '14440', '21800', '89338', '45859', '65501', '34948', '25973', '73219', '25333', '17291', '10374', '18829', '60736', '82620', '41351', '52094', '19326', '25214', '54207', '40936', '21814', '79077', '25178', '75742', '77454', '30621', '89193', '27369', '41232', '48567', '83041', '71948', '37119', '68341', '14073', '16891', '62878', '49130', '19833', '24286', '27700', '40979', '50412', '81504', '94835', '84844', '71954', '39503', '57649', '18434', '24987', '12350', '86379', '27413', '44529', '98569', '16515', '27287', '24255', '21094', '16005', '56436', '91110', '68293', '56455', '54558', '10298', '83647', '32754', '27052', '51766', '19444', '13869', '45645', '94791', '57631', '20712', '37788', '41807', '46507', '21727', '71836', '81070', '50632', '88086', '63991', '20244', '31655', '51782', '29818', '63792', '68605', '94898', '36430', '57025', '20601', '82080', '33869', '22728', '35834', '29086', '92645', '98584', '98072', '11652', '78093', '57553', '43830', '71144', '53565', '18700', '90209', '71256', '38353', '54364', '28571', '96560', '57839', '56355', '50679', '45266', '84680', '34306', '34972', '48530', '30106', '15371', '92380', '84247', '92292', '68852', '13338', '34594', '82602', '70073', '98069', '85066', '47289', '11686', '98862', '26217', '47529', '63294', '51793', '35926', '24227', '14196', '24594', '32489', '99060', '49472', '43432', '49211', '14312', '88137', '47369', '56877', '20534', '81755', '15794', '12318', '21060', '73134', '41255', '63073', '81003', '73873', '66057', '51184', '51195', '45676', '92696', '70450', '90669', '98338', '25264', '38919', '59226', '58581', '60298', '17895', '19489', '52301', '80846', '95464', '68770', '51634', '19988', '18367', '18421', '11618', '67975', '25494', '41352', '95430', '15734', '62585', '97173', '33773', '10425', '75675', '53535', '17879', '41967', '12197', '67998', '79658', '59130', '72592', '14851', '43933', '68101', '50636', '25717', '71286', '24660', '58058', '72991', '95042', '15543', '33122', '69280', '11912', '59386', '27642', '65177', '17672', '33467', '64592', '36335', '54010', '18767', '63193', '42361', '49254', '33113', '33159', '36479', '59080', '11855', '81963', '31016', '49140', '29392', '41836', '32958', '53163', '13844', '73146', '23952', '65148', '93498', '14530', '46131', '58454', '13376', '13378', '83986', '12320', '17193', '59852', '46081', '98533', '52389', '13086', '68843', '31013', '13261', '60560', '13443', '45533', '83583', '11489', '58218', '19753', '22911', '25115', '86709', '27156', '32669', '13123', '51933', '39214', '41331', '66943', '14155', '69998', '49101', '70070', '35076', '14242', '73021', '59494', '15782', '29752', '37914', '74686', '83086', '34473', '15751', '81084', '49230', '91894', '60624', '17819', '28810', '63180', '56224', '39459', '55233', '75752', '43639', '55349', '86057', '62361', '50788', '31830', '58062', '18218', '85761', '60083', '45484', '21204', '90229', '70041', '41162', '35390', '16364', '39500', '68908', '26689', '52868', '81335', '40146', '11340', '61527', '61794', '71997', '30415', '59004', '29450', '58117', '69952', '33562', '83833', '27385', '61860', '96435', '48333', '23065', '32961', '84919', '61997', '99132', '22815', '56600', '68730', '48017', '95694', '32919', '88217', '27116', '28239', '58032', '18884', '16791', '21343', '97462', '18569', '75660', '15475') | stored statistics: | table: rows=15.00M size=307.36MB @@ -647,6 +654,7 @@ max-parallelism=160 segment-costs=[1566855374, 3086] cpu-comparison-result=120 [ | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -886,6 +894,7 @@ max-parallelism=160 segment-costs=[1566855374, 3086] cpu-comparison-result=120 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: substr(ca_zip, CAST(1 AS BIGINT), CAST(5 AS BIGINT)) IN ('47602', '16704', '35863', '28577', '83910', '36201', '58412', '48162', '28055', '41419', '80332', '38607', '77817', '24891', '16226', '18410', '21231', '59345', '13918', '51089', '20317', '17167', '54585', '67881', '78366', '47770', '18360', '51717', '73108', '14440', '21800', '89338', '45859', '65501', '34948', '25973', '73219', '25333', '17291', '10374', '18829', '60736', '82620', '41351', '52094', '19326', '25214', '54207', '40936', '21814', '79077', '25178', '75742', '77454', '30621', '89193', '27369', '41232', '48567', '83041', '71948', '37119', '68341', '14073', '16891', '62878', '49130', '19833', '24286', '27700', '40979', '50412', '81504', '94835', '84844', '71954', '39503', '57649', '18434', '24987', '12350', '86379', '27413', '44529', '98569', '16515', '27287', '24255', '21094', '16005', '56436', '91110', '68293', '56455', '54558', '10298', '83647', '32754', '27052', '51766', '19444', '13869', '45645', '94791', '57631', '20712', '37788', '41807', '46507', '21727', '71836', '81070', '50632', '88086', '63991', '20244', '31655', '51782', '29818', '63792', '68605', '94898', '36430', '57025', '20601', '82080', '33869', '22728', '35834', '29086', '92645', '98584', '98072', '11652', '78093', '57553', '43830', '71144', '53565', '18700', '90209', '71256', '38353', '54364', '28571', '96560', '57839', '56355', '50679', '45266', '84680', '34306', '34972', '48530', '30106', '15371', '92380', '84247', '92292', '68852', '13338', '34594', '82602', '70073', '98069', '85066', '47289', '11686', '98862', '26217', '47529', '63294', '51793', '35926', '24227', '14196', '24594', '32489', '99060', '49472', '43432', '49211', '14312', '88137', '47369', '56877', '20534', '81755', '15794', '12318', '21060', '73134', '41255', '63073', '81003', '73873', '66057', '51184', '51195', '45676', '92696', '70450', '90669', '98338', '25264', '38919', '59226', '58581', '60298', '17895', '19489', '52301', '80846', '95464', '68770', '51634', '19988', '18367', '18421', '11618', '67975', '25494', '41352', '95430', '15734', '62585', '97173', '33773', '10425', '75675', '53535', '17879', '41967', '12197', '67998', '79658', '59130', '72592', '14851', '43933', '68101', '50636', '25717', '71286', '24660', '58058', '72991', '95042', '15543', '33122', '69280', '11912', '59386', '27642', '65177', '17672', '33467', '64592', '36335', '54010', '18767', '63193', '42361', '49254', '33113', '33159', '36479', '59080', '11855', '81963', '31016', '49140', '29392', '41836', '32958', '53163', '13844', '73146', '23952', '65148', '93498', '14530', '46131', '58454', '13376', '13378', '83986', '12320', '17193', '59852', '46081', '98533', '52389', '13086', '68843', '31013', '13261', '60560', '13443', '45533', '83583', '11489', '58218', '19753', '22911', '25115', '86709', '27156', '32669', '13123', '51933', '39214', '41331', '66943', '14155', '69998', '49101', '70070', '35076', '14242', '73021', '59494', '15782', '29752', '37914', '74686', '83086', '34473', '15751', '81084', '49230', '91894', '60624', '17819', '28810', '63180', '56224', '39459', '55233', '75752', '43639', '55349', '86057', '62361', '50788', '31830', '58062', '18218', '85761', '60083', '45484', '21204', '90229', '70041', '41162', '35390', '16364', '39500', '68908', '26689', '52868', '81335', '40146', '11340', '61527', '61794', '71997', '30415', '59004', '29450', '58117', '69952', '33562', '83833', '27385', '61860', '96435', '48333', '23065', '32961', '84919', '61997', '99132', '22815', '56600', '68730', '48017', '95694', '32919', '88217', '27116', '28239', '58032', '18884', '16791', '21343', '97462', '18569', '75660', '15475') | stored statistics: | table: rows=15.00M size=307.36MB @@ -973,6 +982,7 @@ max-parallelism=160 segment-costs=[1566855374, 3086] cpu-comparison-result=120 [ | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q09.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q09.test index b11fc2511..308463f41 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q09.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q09.test @@ -98,6 +98,7 @@ PLAN-ROOT SINK | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -148,6 +149,7 @@ PLAN-ROOT SINK | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -198,6 +200,7 @@ PLAN-ROOT SINK | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -248,6 +251,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -298,6 +302,7 @@ PLAN-ROOT SINK | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -348,6 +353,7 @@ PLAN-ROOT SINK | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -398,6 +404,7 @@ PLAN-ROOT SINK | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -448,6 +455,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -498,6 +506,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -548,6 +557,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -598,6 +608,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -648,6 +659,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -698,6 +710,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -748,6 +761,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -792,6 +806,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.reason] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_sk = CAST(1 AS INT) | stored statistics: | table: rows=67 size=2.49KB @@ -824,6 +839,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) stored statistics: table: rows=8.64G size=389.90GB @@ -901,6 +917,7 @@ PLAN-ROOT SINK | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -969,6 +986,7 @@ PLAN-ROOT SINK | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1037,6 +1055,7 @@ PLAN-ROOT SINK | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1105,6 +1124,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1173,6 +1193,7 @@ PLAN-ROOT SINK | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1241,6 +1262,7 @@ PLAN-ROOT SINK | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1309,6 +1331,7 @@ PLAN-ROOT SINK | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1377,6 +1400,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1445,6 +1469,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1513,6 +1538,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1581,6 +1607,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1649,6 +1676,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1717,6 +1745,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1785,6 +1814,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1833,6 +1863,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.reason, RANDOM] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_sk = CAST(1 AS INT) | stored statistics: | table: rows=67 size=2.49KB @@ -1879,6 +1910,7 @@ max-parallelism=110 segment-costs=[1043704170, 123] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) stored statistics: table: rows=8.64G size=389.90GB @@ -1956,6 +1988,7 @@ PLAN-ROOT SINK | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2024,6 +2057,7 @@ PLAN-ROOT SINK | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2092,6 +2126,7 @@ PLAN-ROOT SINK | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(100 AS INT), ss_quantity >= CAST(81 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2160,6 +2195,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2228,6 +2264,7 @@ PLAN-ROOT SINK | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2296,6 +2333,7 @@ PLAN-ROOT SINK | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(80 AS INT), ss_quantity >= CAST(61 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2364,6 +2402,7 @@ PLAN-ROOT SINK | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2432,6 +2471,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2500,6 +2540,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(60 AS INT), ss_quantity >= CAST(41 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2568,6 +2609,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2636,6 +2678,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2704,6 +2747,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(40 AS INT), ss_quantity >= CAST(21 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2772,6 +2816,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2840,6 +2885,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -2888,6 +2934,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.reason, RANDOM] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_sk = CAST(1 AS INT) | stored statistics: | table: rows=67 size=2.49KB @@ -2934,6 +2981,7 @@ max-parallelism=110 segment-costs=[1043704170, 123] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(1 AS INT) stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q10a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q10a.test index 466899282..1cdeb66f7 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q10a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q10a.test @@ -187,6 +187,7 @@ PLAN-ROOT SINK | | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca] | | | | HDFS partitions=1/1 files=1 size=307.36MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: ca_county IN ('Allen County', 'Jefferson County', 'Lamar County', 'Dakota County', 'Park County') | | | | stored statistics: | | | | table: rows=15.00M size=307.36MB @@ -213,6 +214,7 @@ PLAN-ROOT SINK | | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer c] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF013[min_max] -> c.c_current_addr_sk, RF012[bloom] -> c.c_current_addr_sk | | | stored statistics: | | | table: rows=30.00M size=1.55GB @@ -237,6 +239,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF011[min_max] -> cd_demo_sk, RF010[bloom] -> cd_demo_sk | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -287,6 +290,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -301,6 +305,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_customer_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_customer_sk, RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -357,6 +362,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -371,6 +377,7 @@ PLAN-ROOT SINK | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_ship_customer_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_ship_customer_sk, RF004[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -404,6 +411,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -418,6 +426,7 @@ PLAN-ROOT SINK 07:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_bill_customer_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_bill_customer_sk, RF002[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -606,6 +615,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca, RANDOM] | | | | HDFS partitions=1/1 files=1 size=307.36MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: ca_county IN ('Allen County', 'Jefferson County', 'Lamar County', 'Dakota County', 'Park County') | | | | stored statistics: | | | | table: rows=15.00M size=307.36MB @@ -632,6 +642,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer c, RANDOM] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF013[min_max] -> c.c_current_addr_sk, RF012[bloom] -> c.c_current_addr_sk | | | stored statistics: | | | table: rows=30.00M size=1.55GB @@ -656,6 +667,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF011[min_max] -> cd_demo_sk, RF010[bloom] -> cd_demo_sk | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -726,6 +738,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -815,6 +828,7 @@ max-parallelism=119 segment-costs=[1431151147, 314669662] cpu-comparison-result= | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -878,6 +892,7 @@ max-parallelism=119 segment-costs=[1431151147, 314669662] cpu-comparison-result= | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1079,6 +1094,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca, RANDOM] | | | | HDFS partitions=1/1 files=1 size=307.36MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: ca_county IN ('Allen County', 'Jefferson County', 'Lamar County', 'Dakota County', 'Park County') | | | | stored statistics: | | | | table: rows=15.00M size=307.36MB @@ -1105,6 +1121,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer c, RANDOM] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF013[min_max] -> c.c_current_addr_sk, RF012[bloom] -> c.c_current_addr_sk | | | stored statistics: | | | table: rows=30.00M size=1.55GB @@ -1129,6 +1146,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF011[min_max] -> cd_demo_sk, RF010[bloom] -> cd_demo_sk | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -1199,6 +1217,7 @@ max-parallelism=40 segment-costs=[342030404, 17299830, 579439] cpu-comparison-re | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1288,6 +1307,7 @@ max-parallelism=119 segment-costs=[1431151147, 314669662] cpu-comparison-result= | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1351,6 +1371,7 @@ max-parallelism=119 segment-costs=[1431151147, 314669662] cpu-comparison-result= | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(7 AS INT), d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q11.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q11.test index 2786a15c0..8b0c6cb54 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q11.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q11.test @@ -159,6 +159,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -244,6 +245,7 @@ PLAN-ROOT SINK | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -329,6 +331,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -407,6 +410,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -593,6 +597,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -753,6 +758,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -914,6 +920,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1059,6 +1066,7 @@ max-parallelism=374 segment-costs=[5731769480] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1245,6 +1253,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1405,6 +1414,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1566,6 +1576,7 @@ max-parallelism=380 segment-costs=[3707613664, 230] cpu-comparison-result=960 [m | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1999 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1711,6 +1722,7 @@ max-parallelism=374 segment-costs=[5731769480] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q12.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q12.test index 8ea6d4b36..149b93d34 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q12.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q12.test @@ -104,6 +104,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men', 'Books', 'Children') | stored statistics: | table: rows=360.00K size=33.54MB @@ -138,6 +139,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-04-27', d_date >= DATE '1998-03-28' | stored statistics: | table: rows=73.05K size=2.17MB @@ -152,6 +154,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ws_item_sk, RF000[bloom] -> ws_item_sk, RF002[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -271,6 +274,7 @@ max-parallelism=20 segment-costs=[92951481, 129094315] cpu-comparison-result=25 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men', 'Books', 'Children') | stored statistics: | table: rows=360.00K size=33.54MB @@ -322,6 +326,7 @@ max-parallelism=20 segment-costs=[92951481, 129094315] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-04-27', d_date >= DATE '1998-03-28' | stored statistics: | table: rows=73.05K size=2.17MB @@ -454,6 +459,7 @@ max-parallelism=20 segment-costs=[92951481, 129094315] cpu-comparison-result=25 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men', 'Books', 'Children') | stored statistics: | table: rows=360.00K size=33.54MB @@ -505,6 +511,7 @@ max-parallelism=20 segment-costs=[92951481, 129094315] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-04-27', d_date >= DATE '1998-03-28' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q13.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q13.test index 333b8bda3..e091564b3 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q13.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q13.test @@ -102,6 +102,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -146,6 +147,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_dep_count IN (CAST(3 AS INT), CAST(1 AS INT), CAST(1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -192,6 +194,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -227,6 +230,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('WV', 'GA', 'TX', 'TN', 'KY', 'SC', 'OK', 'NE', 'CA'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -262,6 +266,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'U' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College', cd_education_status = 'Unknown' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB @@ -274,6 +279,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_addr_sk, RF009[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_addr_sk, RF008[bloom] -> ss_cdemo_sk stored statistics: @@ -428,6 +434,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_dep_count IN (CAST(3 AS INT), CAST(1 AS INT), CAST(1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -491,6 +498,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -543,6 +551,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('WV', 'GA', 'TX', 'TN', 'KY', 'SC', 'OK', 'NE', 'CA'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -595,6 +604,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'U' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College', cd_education_status = 'Unknown' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB @@ -607,6 +617,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_addr_sk, RF009[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_addr_sk, RF008[bloom] -> ss_cdemo_sk stored statistics: @@ -761,6 +772,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_dep_count IN (CAST(3 AS INT), CAST(1 AS INT), CAST(1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -824,6 +836,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -876,6 +889,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('WV', 'GA', 'TX', 'TN', 'KY', 'SC', 'OK', 'NE', 'CA'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -928,6 +942,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'U' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College', cd_education_status = 'Unknown' OR cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' OR cd_marital_status = 'S' AND cd_education_status = 'College' | stored statistics: | table: rows=1.92M size=11.15MB @@ -940,6 +955,7 @@ max-parallelism=190 segment-costs=[1897650149, 370] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(250 AS DECIMAL(5,0)), ss_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_addr_sk, RF009[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_addr_sk, RF008[bloom] -> ss_cdemo_sk stored statistics: diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14a.test index bcbc72510..6c996fd52 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14a.test @@ -118,7 +118,7 @@ PLAN-ROOT SINK | in pipelines: 129(GETNEXT), 128(OPEN) | 179:TUPLE CACHE -| cache key: ae24d0714257ebe1082311f10fe8d26e +| cache key: 6314c6c442f6b19d567675af28e59f0f | input scan node ids: 1,3,2,4,5,6,7,11,12,13,16,17,18,32,33,35,36,38,39,43,45,44,46,47,48,49,53,54,55,58,59,60,74,75,77,78,80,81,85,87,86,88,89,90,91,95,96,97,100,101,102,116,117,119,120,122,123 | estimated serialized size: 26.43MB | estimated serialized size per node: 2.64MB @@ -137,7 +137,7 @@ PLAN-ROOT SINK | in pipelines: 128(GETNEXT), 127(OPEN) | 178:TUPLE CACHE -| cache key: 090d24e6c84a9a281fc51cc839c426bc +| cache key: 26ae398ef76e60f54eb2573927f0aba3 | input scan node ids: 1,3,2,4,5,6,7,11,12,13,16,17,18,32,33,35,36,38,39,43,45,44,46,47,48,49,53,54,55,58,59,60,74,75,77,78,80,81,85,87,86,88,89,90,91,95,96,97,100,101,102,116,117,119,120,122,123 | estimated serialized size: 122.71MB | estimated serialized size per node: 12.27MB @@ -174,7 +174,7 @@ PLAN-ROOT SINK | in pipelines: 30(GETNEXT), 72(GETNEXT), 114(GETNEXT) | |--177:TUPLE CACHE -| | cache key: dc123866813f49a089930024e07956ba +| | cache key: 22932248cd7834a06724f1e22c718c89 | | input scan node ids: 85,87,86,88,89,90,91,95,96,97,100,101,102,116,117,119,120,122,123 | | estimated serialized size: 8.53MB | | estimated serialized size per node: 873.75KB @@ -236,6 +236,7 @@ PLAN-ROOT SINK | | | | 123:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -250,6 +251,7 @@ PLAN-ROOT SINK | | | 122:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -281,6 +283,7 @@ PLAN-ROOT SINK | | | | 120:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -295,6 +298,7 @@ PLAN-ROOT SINK | | | 119:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -326,6 +330,7 @@ PLAN-ROOT SINK | | | 117:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -340,6 +345,7 @@ PLAN-ROOT SINK | | 116:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -350,7 +356,7 @@ PLAN-ROOT SINK | | in pipelines: 116(GETNEXT) | | | 172:TUPLE CACHE -| | cache key: 6bc14e1022b3e46150f1d2543dc5ed8b +| | cache key: d01503795c52d36a483bb3bfed499204 | | input scan node ids: 85,87,86,88,89,90,91,95,96,97,100,101,102 | | estimated serialized size: 5.69MB | | estimated serialized size per node: 582.50KB @@ -376,7 +382,7 @@ PLAN-ROOT SINK | | in pipelines: 85(GETNEXT), 112(OPEN) | | | |--171:TUPLE CACHE -| | | cache key: 0f793fb906ec96db45d62206ca738e60 +| | | cache key: 0fb343c18ade8333fbf2bed746d7b410 | | | input scan node ids: 88,89,90,91,95,96,97,100,101,102 | | | estimated serialized size: 2.75MB | | | estimated serialized size per node: 703.12KB @@ -402,7 +408,7 @@ PLAN-ROOT SINK | | | in pipelines: 88(GETNEXT), 94(OPEN) | | | | | |--170:TUPLE CACHE -| | | | cache key: f9885436041ee95dce7a5442ea1f084d +| | | | cache key: 2bc710f3fab1dad8c13bd44234a33f58 | | | | input scan node ids: 89,90,91,95,96,97,100,101,102 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -420,7 +426,7 @@ PLAN-ROOT SINK | | | | in pipelines: 94(GETNEXT), 107(OPEN) | | | | | | | |--169:TUPLE CACHE -| | | | | cache key: a44e00571842e10f8e8637c4c9e60d5b +| | | | | cache key: 1cd6ce2ac5ea1ea661571dcb77f10d0f | | | | | input scan node ids: 100,101,102 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -459,6 +465,7 @@ PLAN-ROOT SINK | | | | | 102:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -481,6 +488,7 @@ PLAN-ROOT SINK | | | | |--101:SCAN HDFS [tpcds_partitioned_parquet_snap.item iws] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -492,6 +500,7 @@ PLAN-ROOT SINK | | | | 100:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF101[min_max] -> ws_item_sk | | | | stored statistics: | | | | table: rows=2.16G size=145.75GB @@ -503,7 +512,7 @@ PLAN-ROOT SINK | | | | in pipelines: 100(GETNEXT) | | | | | | | 167:TUPLE CACHE -| | | | cache key: 44beaeefc48fcb1114a543d032161881 +| | | | cache key: 329c6189b713061ca052782e2418807a | | | | input scan node ids: 89,90,91,95,96,97 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -521,7 +530,7 @@ PLAN-ROOT SINK | | | | in pipelines: 94(GETNEXT), 105(OPEN) | | | | | | | |--166:TUPLE CACHE -| | | | | cache key: 1863945490da06b09ceb34e6753eea39 +| | | | | cache key: b8fcc478a2ed2c1d816dab6ddbdb97a6 | | | | | input scan node ids: 95,96,97 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -560,6 +569,7 @@ PLAN-ROOT SINK | | | | | 97:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -582,6 +592,7 @@ PLAN-ROOT SINK | | | | |--96:SCAN HDFS [tpcds_partitioned_parquet_snap.item ics] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -593,6 +604,7 @@ PLAN-ROOT SINK | | | | 95:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF097[min_max] -> cs_item_sk | | | | stored statistics: | | | | table: rows=4.32G size=280.96GB @@ -604,7 +616,7 @@ PLAN-ROOT SINK | | | | in pipelines: 95(GETNEXT) | | | | | | | 164:TUPLE CACHE -| | | | cache key: f0e6c9c36e4dfc885085f7e83a3603e3 +| | | | cache key: b1349746a24359bf1682783e88cbca14 | | | | input scan node ids: 89,90,91 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -643,6 +655,7 @@ PLAN-ROOT SINK | | | | 91:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -665,6 +678,7 @@ PLAN-ROOT SINK | | | |--90:SCAN HDFS [tpcds_partitioned_parquet_snap.item iss] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -676,6 +690,7 @@ PLAN-ROOT SINK | | | 89:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF093[min_max] -> ss_item_sk, RF092[bloom] -> ss_item_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -689,6 +704,7 @@ PLAN-ROOT SINK | | 88:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF081[min_max] -> i_brand_id, RF082[min_max] -> i_category_id, RF083[min_max] -> i_class_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -709,6 +725,7 @@ PLAN-ROOT SINK | |--86:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF073[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF072[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -741,6 +758,7 @@ PLAN-ROOT SINK | | 87:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -755,6 +773,7 @@ PLAN-ROOT SINK | 85:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF073[min_max] -> ws_item_sk, RF075[min_max] -> ws_item_sk, RF076[bloom] -> ws_sold_date_sk, RF072[bloom] -> ws_item_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -766,7 +785,7 @@ PLAN-ROOT SINK | in pipelines: 85(GETNEXT) | |--161:TUPLE CACHE -| | cache key: 1acb130a715d89ee2b338fe730819789 +| | cache key: 368142480b7122012d4c1c7d58e55c17 | | input scan node ids: 43,45,44,46,47,48,49,53,54,55,58,59,60,74,75,77,78,80,81 | | estimated serialized size: 8.53MB | | estimated serialized size per node: 873.75KB @@ -828,6 +847,7 @@ PLAN-ROOT SINK | | | | 81:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -842,6 +862,7 @@ PLAN-ROOT SINK | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -873,6 +894,7 @@ PLAN-ROOT SINK | | | | 78:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -887,6 +909,7 @@ PLAN-ROOT SINK | | | 77:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -918,6 +941,7 @@ PLAN-ROOT SINK | | | 75:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -932,6 +956,7 @@ PLAN-ROOT SINK | | 74:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -942,7 +967,7 @@ PLAN-ROOT SINK | | in pipelines: 74(GETNEXT) | | | 156:TUPLE CACHE -| | cache key: 05b4135a6d787efd72ba0bb6d38984b4 +| | cache key: 1caa6e0d9ced9084cd863a10bad39e65 | | input scan node ids: 43,45,44,46,47,48,49,53,54,55,58,59,60 | | estimated serialized size: 5.69MB | | estimated serialized size per node: 582.50KB @@ -968,7 +993,7 @@ PLAN-ROOT SINK | | in pipelines: 43(GETNEXT), 70(OPEN) | | | |--155:TUPLE CACHE -| | | cache key: ba19c8d166db870316ea814744629fc5 +| | | cache key: 6d2edcf08ba8d25636e11e04f1770296 | | | input scan node ids: 46,47,48,49,53,54,55,58,59,60 | | | estimated serialized size: 2.75MB | | | estimated serialized size per node: 703.12KB @@ -994,7 +1019,7 @@ PLAN-ROOT SINK | | | in pipelines: 46(GETNEXT), 52(OPEN) | | | | | |--154:TUPLE CACHE -| | | | cache key: 700392dfcb88c0c3033a45be1fbeb869 +| | | | cache key: ec24924c1e1107527ee471fd4951d9fe | | | | input scan node ids: 47,48,49,53,54,55,58,59,60 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1012,7 +1037,7 @@ PLAN-ROOT SINK | | | | in pipelines: 52(GETNEXT), 65(OPEN) | | | | | | | |--153:TUPLE CACHE -| | | | | cache key: 78f83d4572f9b2e3377b2b90480bb255 +| | | | | cache key: 64c334d50c43e67c77a7053549232c31 | | | | | input scan node ids: 58,59,60 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -1051,6 +1076,7 @@ PLAN-ROOT SINK | | | | | 60:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -1073,6 +1099,7 @@ PLAN-ROOT SINK | | | | |--59:SCAN HDFS [tpcds_partitioned_parquet_snap.item iws] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -1084,6 +1111,7 @@ PLAN-ROOT SINK | | | | 58:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF065[min_max] -> ws_item_sk | | | | stored statistics: | | | | table: rows=2.16G size=145.75GB @@ -1095,7 +1123,7 @@ PLAN-ROOT SINK | | | | in pipelines: 58(GETNEXT) | | | | | | | 151:TUPLE CACHE -| | | | cache key: cbea2be4e84e3650a4d33847b586102e +| | | | cache key: 6b7bafca1a7fd43f54bafacbb72aa4c2 | | | | input scan node ids: 47,48,49,53,54,55 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1113,7 +1141,7 @@ PLAN-ROOT SINK | | | | in pipelines: 52(GETNEXT), 63(OPEN) | | | | | | | |--150:TUPLE CACHE -| | | | | cache key: 58ea2abee961bfdaaebbe3de3459e7f0 +| | | | | cache key: 924358dd50b374766614dbf7adf930c0 | | | | | input scan node ids: 53,54,55 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -1152,6 +1180,7 @@ PLAN-ROOT SINK | | | | | 55:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -1174,6 +1203,7 @@ PLAN-ROOT SINK | | | | |--54:SCAN HDFS [tpcds_partitioned_parquet_snap.item ics] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -1185,6 +1215,7 @@ PLAN-ROOT SINK | | | | 53:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF061[min_max] -> cs_item_sk | | | | stored statistics: | | | | table: rows=4.32G size=280.96GB @@ -1196,7 +1227,7 @@ PLAN-ROOT SINK | | | | in pipelines: 53(GETNEXT) | | | | | | | 148:TUPLE CACHE -| | | | cache key: b1056329feda0f22d343b0a80589fd18 +| | | | cache key: 488f63661691ac9c72aa68572d867ee0 | | | | input scan node ids: 47,48,49 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1235,6 +1266,7 @@ PLAN-ROOT SINK | | | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1257,6 +1289,7 @@ PLAN-ROOT SINK | | | |--48:SCAN HDFS [tpcds_partitioned_parquet_snap.item iss] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -1268,6 +1301,7 @@ PLAN-ROOT SINK | | | 47:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF057[min_max] -> ss_item_sk, RF056[bloom] -> ss_item_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -1281,6 +1315,7 @@ PLAN-ROOT SINK | | 46:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF045[min_max] -> i_brand_id, RF046[min_max] -> i_category_id, RF047[min_max] -> i_class_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1301,6 +1336,7 @@ PLAN-ROOT SINK | |--44:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF037[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF036[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1333,6 +1369,7 @@ PLAN-ROOT SINK | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1347,6 +1384,7 @@ PLAN-ROOT SINK | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF037[min_max] -> cs_item_sk, RF039[min_max] -> cs_item_sk, RF040[bloom] -> cs_sold_date_sk, RF036[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1358,7 +1396,7 @@ PLAN-ROOT SINK | in pipelines: 43(GETNEXT) | 145:TUPLE CACHE -| cache key: 8c00cede080c1d4275b63579e0fdcf84 +| cache key: 852f9fb702bfff0e4934daab9cba2fe6 | input scan node ids: 1,3,2,4,5,6,7,11,12,13,16,17,18,32,33,35,36,38,39 | estimated serialized size: 8.53MB | estimated serialized size per node: 873.75KB @@ -1420,6 +1458,7 @@ PLAN-ROOT SINK | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1434,6 +1473,7 @@ PLAN-ROOT SINK | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -1465,6 +1505,7 @@ PLAN-ROOT SINK | | | 36:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1479,6 +1520,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -1510,6 +1552,7 @@ PLAN-ROOT SINK | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1524,6 +1567,7 @@ PLAN-ROOT SINK | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -1534,7 +1578,7 @@ PLAN-ROOT SINK | in pipelines: 32(GETNEXT) | 140:TUPLE CACHE -| cache key: c2d92b051f391aaeb104ea94c4796c32 +| cache key: f7a354fe080a12880e3094994347d25d | input scan node ids: 1,3,2,4,5,6,7,11,12,13,16,17,18 | estimated serialized size: 5.69MB | estimated serialized size per node: 582.50KB @@ -1560,7 +1604,7 @@ PLAN-ROOT SINK | in pipelines: 01(GETNEXT), 28(OPEN) | |--139:TUPLE CACHE -| | cache key: 1b721757c2fd3281e18c40f86115c23f +| | cache key: b20837d5c6b1d131990348fd14ba65f4 | | input scan node ids: 4,5,6,7,11,12,13,16,17,18 | | estimated serialized size: 2.75MB | | estimated serialized size per node: 703.12KB @@ -1586,7 +1630,7 @@ PLAN-ROOT SINK | | in pipelines: 04(GETNEXT), 10(OPEN) | | | |--138:TUPLE CACHE -| | | cache key: aac439f4cc5ce13d4acf3e032ae393d6 +| | | cache key: c355eec696f821872812942381e4ee16 | | | input scan node ids: 5,6,7,11,12,13,16,17,18 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -1604,7 +1648,7 @@ PLAN-ROOT SINK | | | in pipelines: 10(GETNEXT), 23(OPEN) | | | | | |--137:TUPLE CACHE -| | | | cache key: c4b65c31e43df78c3a9575cdacf75734 +| | | | cache key: 26749e7466363c2530aa2691a266b16b | | | | input scan node ids: 16,17,18 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1643,6 +1687,7 @@ PLAN-ROOT SINK | | | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1665,6 +1710,7 @@ PLAN-ROOT SINK | | | |--17:SCAN HDFS [tpcds_partitioned_parquet_snap.item iws] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -1676,6 +1722,7 @@ PLAN-ROOT SINK | | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF029[min_max] -> ws_item_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -1687,7 +1734,7 @@ PLAN-ROOT SINK | | | in pipelines: 16(GETNEXT) | | | | | 135:TUPLE CACHE -| | | cache key: aa55646f27c2c37cea4d1b488084626d +| | | cache key: e8fcd5221b5ec0ee5c1d73a510eefb7b | | | input scan node ids: 5,6,7,11,12,13 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -1705,7 +1752,7 @@ PLAN-ROOT SINK | | | in pipelines: 10(GETNEXT), 21(OPEN) | | | | | |--134:TUPLE CACHE -| | | | cache key: 8273cca98d0a306c998ac6f8e41cb063 +| | | | cache key: e2fc82ebf23a4f040111347bae19ba9a | | | | input scan node ids: 11,12,13 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1744,6 +1791,7 @@ PLAN-ROOT SINK | | | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1766,6 +1814,7 @@ PLAN-ROOT SINK | | | |--12:SCAN HDFS [tpcds_partitioned_parquet_snap.item ics] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -1777,6 +1826,7 @@ PLAN-ROOT SINK | | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF025[min_max] -> cs_item_sk, RF024[bloom] -> cs_item_sk | | | stored statistics: | | | table: rows=4.32G size=280.96GB @@ -1788,7 +1838,7 @@ PLAN-ROOT SINK | | | in pipelines: 11(GETNEXT) | | | | | 132:TUPLE CACHE -| | | cache key: c59e2ddbda45399c095af60d9ba4a19b +| | | cache key: 1ac50030e86cf4ddfabbf48a1e9d9d02 | | | input scan node ids: 5,6,7 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -1827,6 +1877,7 @@ PLAN-ROOT SINK | | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1849,6 +1900,7 @@ PLAN-ROOT SINK | | |--06:SCAN HDFS [tpcds_partitioned_parquet_snap.item iss] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -1860,6 +1912,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF021[min_max] -> ss_item_sk, RF020[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -1873,6 +1926,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> i_brand_id, RF010[min_max] -> i_category_id, RF011[min_max] -> i_class_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -1893,6 +1947,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | stored statistics: | table: rows=360.00K size=33.54MB @@ -1925,6 +1980,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1939,6 +1995,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF003[min_max] -> ss_item_sk, RF004[bloom] -> ss_sold_date_sk, RF000[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -2071,7 +2128,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 243:TUPLE CACHE -| | | cache key: 1e7e0945078c3cecce4bef0e7ec30c23 +| | | cache key: c046f6f13ef85032a6813278b077538d | | | input scan node ids: 116,119,122 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -2132,6 +2189,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 123:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2146,6 +2204,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 122:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -2194,6 +2253,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 120:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2208,6 +2268,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 119:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -2256,6 +2317,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 117:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2270,6 +2332,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 116:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -2463,6 +2526,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 102:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2603,6 +2667,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 97:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2677,7 +2742,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 237:TUPLE CACHE -| | | cache key: a54f834337f0276e9b84aa9ddc31ed09 +| | | cache key: 13a9353ae7a0d3cf74bb83061afae6dc | | | input scan node ids: 89 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -2733,6 +2798,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 91:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2783,6 +2849,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 89:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF093[min_max] -> ss_item_sk, RF092[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -2870,6 +2937,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 87:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2930,7 +2998,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 234:TUPLE CACHE -| | | cache key: e87afd733d9afe5c61542f459dc9bea0 +| | | cache key: 039089b5b465f5d1d8c27ac8cba25c95 | | | input scan node ids: 74,77,80 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -2991,6 +3059,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 81:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3005,6 +3074,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -3053,6 +3123,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 78:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3067,6 +3138,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 77:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -3115,6 +3187,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 75:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3129,6 +3202,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 74:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -3322,6 +3396,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 60:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3462,6 +3537,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 55:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3536,7 +3612,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 228:TUPLE CACHE -| | | cache key: d58a26c02bce12cfceb4f50329f5b522 +| | | cache key: 2c168413b9de8bb52dfb59e5c8f1f03b | | | input scan node ids: 47 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -3592,6 +3668,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3642,6 +3719,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 47:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF057[min_max] -> ss_item_sk, RF056[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -3729,6 +3807,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -3789,7 +3868,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | 225:TUPLE CACHE -| | cache key: f047e11b7e7a8b38cb4f54dd69fdb4f4 +| | cache key: 0ae882965c0318dc7427b4ac388634ca | | input scan node ids: 32,35,38 | | estimated serialized size: 2.34KB | | estimated serialized size per node: 240B @@ -3850,6 +3929,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3864,6 +3944,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -3912,6 +3993,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 36:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3926,6 +4008,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -3974,6 +4057,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -3988,6 +4072,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -4181,6 +4266,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4322,6 +4408,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4396,7 +4483,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | 219:TUPLE CACHE -| | cache key: 2ae1ebbe00543bdc86b4cddf5cf2adb0 +| | cache key: 48f76cd9c5d6445456539d4d486cd6bd | | input scan node ids: 5 | | estimated serialized size: 273.05MB | | estimated serialized size per node: 27.30MB @@ -4452,6 +4539,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -4502,6 +4590,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ss_item_sk, RF020[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -4589,6 +4678,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -4734,7 +4824,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 243:TUPLE CACHE -| | | cache key: 1e7e0945078c3cecce4bef0e7ec30c23 +| | | cache key: c046f6f13ef85032a6813278b077538d | | | input scan node ids: 116,119,122 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -4795,6 +4885,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 123:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -4809,6 +4900,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 122:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -4857,6 +4949,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 120:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -4871,6 +4964,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 119:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -4919,6 +5013,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 117:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4933,6 +5028,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 116:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -5126,6 +5222,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 102:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -5266,6 +5363,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 97:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -5340,7 +5438,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 237:TUPLE CACHE -| | | cache key: a54f834337f0276e9b84aa9ddc31ed09 +| | | cache key: 13a9353ae7a0d3cf74bb83061afae6dc | | | input scan node ids: 89 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -5396,6 +5494,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 91:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -5446,6 +5545,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 89:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF093[min_max] -> ss_item_sk, RF092[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -5533,6 +5633,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 87:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -5593,7 +5694,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 234:TUPLE CACHE -| | | cache key: e87afd733d9afe5c61542f459dc9bea0 +| | | cache key: 039089b5b465f5d1d8c27ac8cba25c95 | | | input scan node ids: 74,77,80 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -5654,6 +5755,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 81:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -5668,6 +5770,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -5716,6 +5819,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 78:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -5730,6 +5834,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 77:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -5778,6 +5883,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 75:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -5792,6 +5898,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 74:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -5985,6 +6092,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 60:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -6125,6 +6233,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | | 55:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -6199,7 +6308,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 228:TUPLE CACHE -| | | cache key: d58a26c02bce12cfceb4f50329f5b522 +| | | cache key: 2c168413b9de8bb52dfb59e5c8f1f03b | | | input scan node ids: 47 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -6255,6 +6364,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -6305,6 +6415,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 47:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF057[min_max] -> ss_item_sk, RF056[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -6392,6 +6503,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -6452,7 +6564,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | 225:TUPLE CACHE -| | cache key: f047e11b7e7a8b38cb4f54dd69fdb4f4 +| | cache key: 0ae882965c0318dc7427b4ac388634ca | | input scan node ids: 32,35,38 | | estimated serialized size: 2.34KB | | estimated serialized size per node: 240B @@ -6513,6 +6625,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -6527,6 +6640,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -6575,6 +6689,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | | 36:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -6589,6 +6704,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -6637,6 +6753,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -6651,6 +6768,7 @@ max-parallelism=109 segment-costs=[31467972, 31467972, 31443606, 8492690, 202730 | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -6844,6 +6962,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -6985,6 +7104,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -7059,7 +7179,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | 219:TUPLE CACHE -| | cache key: 2ae1ebbe00543bdc86b4cddf5cf2adb0 +| | cache key: 48f76cd9c5d6445456539d4d486cd6bd | | input scan node ids: 5 | | estimated serialized size: 273.05MB | | estimated serialized size per node: 27.30MB @@ -7115,6 +7235,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -7165,6 +7286,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ss_item_sk, RF020[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -7252,6 +7374,7 @@ max-parallelism=109 segment-costs=[1608473849, 50705571] cpu-comparison-result=4 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14b.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14b.test index 2093bf3f7..538296c5f 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14b.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q14b.test @@ -182,6 +182,7 @@ PLAN-ROOT SINK | | | | 86:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -196,6 +197,7 @@ PLAN-ROOT SINK | | | 85:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -227,6 +229,7 @@ PLAN-ROOT SINK | | | | 83:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -241,6 +244,7 @@ PLAN-ROOT SINK | | | 82:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -272,6 +276,7 @@ PLAN-ROOT SINK | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -286,6 +291,7 @@ PLAN-ROOT SINK | | 79:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -337,7 +343,7 @@ PLAN-ROOT SINK | | in pipelines: 45(GETNEXT), 74(OPEN) | | | |--113:TUPLE CACHE -| | | cache key: 5f03fb3d7f0a2d67cb367a59709cd661 +| | | cache key: 281634641ff53fe44cb09e063907045f | | | input scan node ids: 48,49,50,51,55,56,57,60,61,62 | | | estimated serialized size: 2.75MB | | | estimated serialized size per node: 703.12KB @@ -363,7 +369,7 @@ PLAN-ROOT SINK | | | in pipelines: 48(GETNEXT), 54(OPEN) | | | | | |--112:TUPLE CACHE -| | | | cache key: fa0bdbd16fea95da3e43545deb757416 +| | | | cache key: 6989e61292b395fe048d77ea9077fac2 | | | | input scan node ids: 49,50,51,55,56,57,60,61,62 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -381,7 +387,7 @@ PLAN-ROOT SINK | | | | in pipelines: 54(GETNEXT), 67(OPEN) | | | | | | | |--111:TUPLE CACHE -| | | | | cache key: 93990cea03fe99a66e87dccfc878407b +| | | | | cache key: ee317f7b32bcee352a8accb20acb75be | | | | | input scan node ids: 60,61,62 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -420,6 +426,7 @@ PLAN-ROOT SINK | | | | | 62:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -442,6 +449,7 @@ PLAN-ROOT SINK | | | | |--61:SCAN HDFS [tpcds_partitioned_parquet_snap.item iws] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -453,6 +461,7 @@ PLAN-ROOT SINK | | | | 60:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF075[min_max] -> ws_item_sk | | | | stored statistics: | | | | table: rows=2.16G size=145.75GB @@ -464,7 +473,7 @@ PLAN-ROOT SINK | | | | in pipelines: 60(GETNEXT) | | | | | | | 109:TUPLE CACHE -| | | | cache key: 55b5c468393c20acbf8ec0ee8a4f9038 +| | | | cache key: 1996aa20cad1559f052265f15b826351 | | | | input scan node ids: 49,50,51,55,56,57 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -482,7 +491,7 @@ PLAN-ROOT SINK | | | | in pipelines: 54(GETNEXT), 65(OPEN) | | | | | | | |--108:TUPLE CACHE -| | | | | cache key: ddfc6eff09451a6dc142f77195a4685a +| | | | | cache key: a2ff79253103e0ce4d9914e1ea88936b | | | | | input scan node ids: 55,56,57 | | | | | estimated serialized size: 2.28MB | | | | | estimated serialized size per node: 233.00KB @@ -521,6 +530,7 @@ PLAN-ROOT SINK | | | | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | | stored statistics: | | | | | table: rows=73.05K size=2.17MB @@ -543,6 +553,7 @@ PLAN-ROOT SINK | | | | |--56:SCAN HDFS [tpcds_partitioned_parquet_snap.item ics] | | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | | deterministic scan range assignment: true +| | | | | schedule scan ranges oldest to newest: true | | | | | stored statistics: | | | | | table: rows=360.00K size=33.54MB | | | | | columns: all @@ -554,6 +565,7 @@ PLAN-ROOT SINK | | | | 55:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | runtime filters: RF071[min_max] -> cs_item_sk, RF070[bloom] -> cs_item_sk | | | | stored statistics: | | | | table: rows=4.32G size=280.96GB @@ -565,7 +577,7 @@ PLAN-ROOT SINK | | | | in pipelines: 55(GETNEXT) | | | | | | | 106:TUPLE CACHE -| | | | cache key: 170d677bdd69cfc5cc5a9b12be82bd4e +| | | | cache key: 2ae1e1834861e270a9027a338220b8c8 | | | | input scan node ids: 49,50,51 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -604,6 +616,7 @@ PLAN-ROOT SINK | | | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -626,6 +639,7 @@ PLAN-ROOT SINK | | | |--50:SCAN HDFS [tpcds_partitioned_parquet_snap.item iss] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -637,6 +651,7 @@ PLAN-ROOT SINK | | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF067[min_max] -> ss_item_sk, RF066[bloom] -> ss_item_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -650,6 +665,7 @@ PLAN-ROOT SINK | | 48:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF055[min_max] -> i_brand_id, RF056[min_max] -> i_category_id, RF057[min_max] -> i_class_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -759,6 +775,7 @@ PLAN-ROOT SINK | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -773,6 +790,7 @@ PLAN-ROOT SINK | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -804,6 +822,7 @@ PLAN-ROOT SINK | | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -818,6 +837,7 @@ PLAN-ROOT SINK | | 37:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -849,6 +869,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -863,6 +884,7 @@ PLAN-ROOT SINK | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -914,7 +936,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 29(OPEN) | |--100:TUPLE CACHE -| | cache key: a483404130757b4729f7d03a9add50c0 +| | cache key: 4519a12097ad26c0af4c0c4663c40e46 | | input scan node ids: 3,4,5,6,10,11,12,15,16,17 | | estimated serialized size: 2.75MB | | estimated serialized size per node: 703.12KB @@ -940,7 +962,7 @@ PLAN-ROOT SINK | | in pipelines: 03(GETNEXT), 09(OPEN) | | | |--99:TUPLE CACHE -| | | cache key: d87e4b07dba94e14a1d858a4582af2a7 +| | | cache key: 9ee5f03b4b9de9f07efb810efaf6fa9f | | | input scan node ids: 4,5,6,10,11,12,15,16,17 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -958,7 +980,7 @@ PLAN-ROOT SINK | | | in pipelines: 09(GETNEXT), 22(OPEN) | | | | | |--98:TUPLE CACHE -| | | | cache key: 96d1ce1c5846b3412fd5bc8953d6127c +| | | | cache key: 9c2f3dac71c31072e46736c3670e1e25 | | | | input scan node ids: 15,16,17 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -997,6 +1019,7 @@ PLAN-ROOT SINK | | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1019,6 +1042,7 @@ PLAN-ROOT SINK | | | |--16:SCAN HDFS [tpcds_partitioned_parquet_snap.item iws] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -1030,6 +1054,7 @@ PLAN-ROOT SINK | | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF037[min_max] -> ws_item_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -1041,7 +1066,7 @@ PLAN-ROOT SINK | | | in pipelines: 15(GETNEXT) | | | | | 96:TUPLE CACHE -| | | cache key: bd0de46549bf7241979124242df86446 +| | | cache key: 3164eef66e93ad2f63ac3fb6ed73fba8 | | | input scan node ids: 4,5,6,10,11,12 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -1059,7 +1084,7 @@ PLAN-ROOT SINK | | | in pipelines: 09(GETNEXT), 20(OPEN) | | | | | |--95:TUPLE CACHE -| | | | cache key: e0093030c6b621840646658bfd6f0691 +| | | | cache key: a1c82bb1152924da2244533993fec264 | | | | input scan node ids: 10,11,12 | | | | estimated serialized size: 2.28MB | | | | estimated serialized size per node: 233.00KB @@ -1098,6 +1123,7 @@ PLAN-ROOT SINK | | | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1120,6 +1146,7 @@ PLAN-ROOT SINK | | | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.item ics] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB | | | | columns: all @@ -1131,6 +1158,7 @@ PLAN-ROOT SINK | | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF033[min_max] -> cs_item_sk, RF032[bloom] -> cs_item_sk | | | stored statistics: | | | table: rows=4.32G size=280.96GB @@ -1142,7 +1170,7 @@ PLAN-ROOT SINK | | | in pipelines: 10(GETNEXT) | | | | | 93:TUPLE CACHE -| | | cache key: c9f01987dc32e35cfe030edd9a099286 +| | | cache key: 3c7a7a9c5970578e6a0fcc6546553315 | | | input scan node ids: 4,5,6 | | | estimated serialized size: 2.28MB | | | estimated serialized size per node: 233.00KB @@ -1181,6 +1209,7 @@ PLAN-ROOT SINK | | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1203,6 +1232,7 @@ PLAN-ROOT SINK | | |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.item iss] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -1214,6 +1244,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF029[min_max] -> ss_item_sk, RF028[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -1227,6 +1258,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF017[min_max] -> i_brand_id, RF018[min_max] -> i_category_id, RF019[min_max] -> i_class_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -1364,7 +1396,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 169:TUPLE CACHE -| | | cache key: eac1b6f3de742d66282d05924a4ca989 +| | | cache key: 5f793c7edaf49f48a0a3470a34e90a7e | | | input scan node ids: 79,82,85 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -1425,6 +1457,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 86:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1439,6 +1472,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 85:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -1487,6 +1521,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 83:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1501,6 +1536,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 82:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -1549,6 +1585,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1563,6 +1600,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 79:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -1809,6 +1847,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 62:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1950,6 +1989,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2024,7 +2064,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 163:TUPLE CACHE -| | | cache key: b6966abe9acf6b343363118aa51c0399 +| | | cache key: 9a699ea5397f82a26becdf5d67c285c4 | | | input scan node ids: 49 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -2080,6 +2120,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2130,6 +2171,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF067[min_max] -> ss_item_sk, RF066[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -2262,7 +2304,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | 161:TUPLE CACHE -| | cache key: 9cfd1d3e890b50ce278709604b9947e5 +| | cache key: e0ae046e7c6cebdac71207719031a4be | | input scan node ids: 34,37,40 | | estimated serialized size: 2.34KB | | estimated serialized size per node: 240B @@ -2323,6 +2365,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2337,6 +2380,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -2385,6 +2429,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2399,6 +2444,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 37:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -2447,6 +2493,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2461,6 +2508,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -2707,6 +2755,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2804,7 +2853,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | Per-Instance Resources: mem-estimate=30.62MB mem-reservation=10.00MB thread-reservation=1 | | max-parallelism=1030 segment-costs=[10291866608, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 156:TUPLE CACHE -| | | cache key: 72cbb806a64508926b03133cb0eadf5d +| | | cache key: af4a6d0db2a08ca5656c95d8daa4bded | | | input scan node ids: 10 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -2860,6 +2909,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2909,6 +2959,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF033[min_max] -> cs_item_sk, RF032[bloom] -> cs_item_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -2935,7 +2986,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | 154:TUPLE CACHE -| | cache key: 46ae443a93b749a0af25a3b11ea32660 +| | cache key: 4bb988e7c00aa4e9f749549b66dae5d8 | | input scan node ids: 4 | | estimated serialized size: 273.05MB | | estimated serialized size per node: 27.30MB @@ -2991,6 +3042,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -3041,6 +3093,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF029[min_max] -> ss_item_sk, RF028[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -3215,7 +3268,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | | 169:TUPLE CACHE -| | | cache key: eac1b6f3de742d66282d05924a4ca989 +| | | cache key: 5f793c7edaf49f48a0a3470a34e90a7e | | | input scan node ids: 79,82,85 | | | estimated serialized size: 2.34KB | | | estimated serialized size per node: 240B @@ -3276,6 +3329,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 86:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3290,6 +3344,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 85:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=2.16G size=145.75GB | | | partitions: 1824/1824 rows=2.16G @@ -3338,6 +3393,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 83:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3352,6 +3408,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 82:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=4.32G size=280.96GB | | | partitions: 1831/1831 rows=4.32G @@ -3400,6 +3457,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 80:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3414,6 +3472,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 79:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=8.64G size=389.90GB | | partitions: 1824/1824 rows=8.64G @@ -3660,6 +3719,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 62:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3801,6 +3861,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -3875,7 +3936,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 163:TUPLE CACHE -| | | cache key: b6966abe9acf6b343363118aa51c0399 +| | | cache key: 9a699ea5397f82a26becdf5d67c285c4 | | | input scan node ids: 49 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -3931,6 +3992,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -3981,6 +4043,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF067[min_max] -> ss_item_sk, RF066[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -4113,7 +4176,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | Per-Instance Resources: mem-estimate=20.02MB mem-reservation=12.00MB thread-reservation=1 | max-parallelism=120 segment-costs=[11061173397, 185] cpu-comparison-result=120 [max(120 (self) vs 33 (sum children))] | 161:TUPLE CACHE -| | cache key: 9cfd1d3e890b50ce278709604b9947e5 +| | cache key: e0ae046e7c6cebdac71207719031a4be | | input scan node ids: 34,37,40 | | estimated serialized size: 2.34KB | | estimated serialized size per node: 240B @@ -4174,6 +4237,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4188,6 +4252,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=2.16G size=145.75GB | | partitions: 1824/1824 rows=2.16G @@ -4236,6 +4301,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | | 38:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4250,6 +4316,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 37:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=4.32G size=280.96GB | | partitions: 1831/1831 rows=4.32G @@ -4298,6 +4365,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year <= CAST(2000 AS INT), d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -4312,6 +4380,7 @@ max-parallelism=90 segment-costs=[2040021, 847694218, 282] cpu-comparison-result | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=8.64G size=389.90GB | partitions: 1824/1824 rows=8.64G @@ -4558,6 +4627,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d3.d_year <= CAST(2000 AS INT), d3.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4655,7 +4725,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | Per-Instance Resources: mem-estimate=30.62MB mem-reservation=10.00MB thread-reservation=1 | | max-parallelism=1030 segment-costs=[10291866608, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | | 156:TUPLE CACHE -| | | cache key: 72cbb806a64508926b03133cb0eadf5d +| | | cache key: af4a6d0db2a08ca5656c95d8daa4bded | | | input scan node ids: 10 | | | estimated serialized size: 273.05MB | | | estimated serialized size per node: 27.30MB @@ -4711,6 +4781,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d2.d_year <= CAST(2000 AS INT), d2.d_year >= CAST(1998 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4760,6 +4831,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF033[min_max] -> cs_item_sk, RF032[bloom] -> cs_item_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -4786,7 +4858,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | Per-Instance Resources: mem-estimate=31.25MB mem-reservation=13.00MB thread-reservation=1 | max-parallelism=1824 segment-costs=[20502176631, 23047987] cpu-comparison-result=120 [max(120 (self) vs 25 (sum children))] | 154:TUPLE CACHE -| | cache key: 46ae443a93b749a0af25a3b11ea32660 +| | cache key: 4bb988e7c00aa4e9f749549b66dae5d8 | | input scan node ids: 4 | | estimated serialized size: 273.05MB | | estimated serialized size per node: 27.30MB @@ -4842,6 +4914,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year <= CAST(2000 AS INT), d1.d_year >= CAST(1998 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -4892,6 +4965,7 @@ max-parallelism=1560 segment-costs=[15548126831, 2247271] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF029[min_max] -> ss_item_sk, RF028[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q15.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q15.test index 31491e78b..a1881e2a3 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q15.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q15.test @@ -36,7 +36,7 @@ PLAN-ROOT SINK | in pipelines: 08(GETNEXT), 07(OPEN) | 10:TUPLE CACHE -| cache key: 115753d264c56ec5ab4fe6daafeee106 +| cache key: b2d2ae080af3141f84f286f3c0133b4e | input scan node ids: 0,3,1,2 | estimated serialized size: 367.51KB | estimated serialized size per node: 36.75KB @@ -66,6 +66,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -85,6 +86,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> c_current_addr_sk, RF000[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -117,6 +119,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -131,6 +134,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> cs_bill_customer_sk, RF002[bloom] -> cs_bill_customer_sk, RF004[bloom] -> cs_sold_date_sk stored statistics: table: rows=4.32G size=280.96GB @@ -183,7 +187,7 @@ Per-Host Shared Resources: mem-estimate=17.00MB mem-reservation=17.00MB thread-r Per-Instance Resources: mem-estimate=31.45MB mem-reservation=7.00MB thread-reservation=1 max-parallelism=80 segment-costs=[750824853, 3222661] cpu-comparison-result=80 [max(80 (self) vs 51 (sum children))] 16:TUPLE CACHE -| cache key: 55ad2f25fd2162e01e208f13d1df7010 +| cache key: a8880eaad4fd4239278708f93d379a9d | input scan node ids: 0 | estimated serialized size: 43.07MB | estimated serialized size per node: 4.31MB @@ -314,6 +318,7 @@ max-parallelism=80 segment-costs=[750824853, 3222661] cpu-comparison-result=80 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -328,6 +333,7 @@ max-parallelism=80 segment-costs=[750824853, 3222661] cpu-comparison-result=80 [ 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> cs_bill_customer_sk, RF002[bloom] -> cs_bill_customer_sk, RF004[bloom] -> cs_sold_date_sk stored statistics: table: rows=4.32G size=280.96GB @@ -507,6 +513,7 @@ max-parallelism=187 segment-costs=[1906326833] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q16.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q16.test index 8d3f96c4f..b5053dd41 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q16.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q16.test @@ -156,6 +156,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center] | | | HDFS partitions=1/1 files=1 size=16.57KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cc_county IN ('Jackson County', 'Daviess County', 'Walker County', 'Dauphin County', 'Mobile County') | | | stored statistics: | | | table: rows=48 size=16.57KB @@ -202,6 +203,7 @@ PLAN-ROOT SINK | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-04-02', d_date >= DATE '2001-02-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -236,6 +238,7 @@ PLAN-ROOT SINK | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'MS' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -250,6 +253,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs1] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> cs1.cs_call_center_sk, RF005[min_max] -> cs1.cs_ship_date_sk, RF007[min_max] -> cs1.cs_ship_addr_sk, RF002[bloom] -> cs1.cs_call_center_sk, RF004[bloom] -> cs1.cs_ship_date_sk, RF006[bloom] -> cs1.cs_ship_addr_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -263,6 +267,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs2] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> cs2.cs_order_number, RF000[bloom] -> cs2.cs_order_number | stored statistics: | table: rows=4.32G size=280.96GB @@ -276,6 +281,7 @@ PLAN-ROOT SINK 05:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns cr1] HDFS partitions=2060/2060 files=2060 size=32.77GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=432.02M size=32.77GB partitions: 2060/2060 rows=432.02M @@ -420,6 +426,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center, RANDOM] | | | HDFS partitions=1/1 files=1 size=16.57KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cc_county IN ('Jackson County', 'Daviess County', 'Walker County', 'Dauphin County', 'Mobile County') | | | stored statistics: | | | table: rows=48 size=16.57KB @@ -483,6 +490,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-04-02', d_date >= DATE '2001-02-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -534,6 +542,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'MS' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -548,6 +557,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs1, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> cs1.cs_call_center_sk, RF005[min_max] -> cs1.cs_ship_date_sk, RF007[min_max] -> cs1.cs_ship_addr_sk, RF002[bloom] -> cs1.cs_call_center_sk, RF004[bloom] -> cs1.cs_ship_date_sk, RF006[bloom] -> cs1.cs_ship_addr_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -733,6 +743,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center, RANDOM] | | | HDFS partitions=1/1 files=1 size=16.57KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cc_county IN ('Jackson County', 'Daviess County', 'Walker County', 'Dauphin County', 'Mobile County') | | | stored statistics: | | | table: rows=48 size=16.57KB @@ -796,6 +807,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-04-02', d_date >= DATE '2001-02-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -847,6 +859,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'MS' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -861,6 +874,7 @@ max-parallelism=20 segment-costs=[177013447, 153674, 3] cpu-comparison-result=14 | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs1, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> cs1.cs_call_center_sk, RF005[min_max] -> cs1.cs_ship_date_sk, RF007[min_max] -> cs1.cs_ship_addr_sk, RF002[bloom] -> cs1.cs_call_center_sk, RF004[bloom] -> cs1.cs_ship_date_sk, RF006[bloom] -> cs1.cs_ship_addr_sk | | stored statistics: | | table: rows=4.32G size=280.96GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q17.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q17.test index 3c75fa5a0..e267ca402 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q17.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q17.test @@ -108,6 +108,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | stored statistics: | table: rows=73.05K size=2.17MB @@ -150,6 +151,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -181,6 +183,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -235,6 +238,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_quarter_name = '1999Q1' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -392,6 +396,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | stored statistics: | table: rows=73.05K size=2.17MB @@ -468,6 +473,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -516,6 +522,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -614,6 +621,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_quarter_name = '1999Q1' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -780,6 +788,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | stored statistics: | table: rows=73.05K size=2.17MB @@ -856,6 +865,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -904,6 +914,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_quarter_name IN ('1999Q1', '1999Q2', '1999Q3') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1002,6 +1013,7 @@ max-parallelism=40 segment-costs=[345059032, 91812192] cpu-comparison-result=228 | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_quarter_name = '1999Q1' | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q18.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q18.test index 4eb507792..3d37fa7fb 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q18.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q18.test @@ -99,6 +99,7 @@ PLAN-ROOT SINK |--06:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -118,6 +119,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd2] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.92M size=11.15MB | columns: all @@ -149,6 +151,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('IL', 'WV', 'KS', 'GA', 'LA', 'PA', 'TX') | stored statistics: | table: rows=15.00M size=307.36MB @@ -171,6 +174,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: c_birth_month IN (CAST(6 AS INT), CAST(7 AS INT), CAST(3 AS INT), CAST(11 AS INT), CAST(12 AS INT), CAST(8 AS INT)) | runtime filters: RF005[min_max] -> c_current_addr_sk, RF003[min_max] -> c_current_cdemo_sk, RF004[bloom] -> c_current_addr_sk, RF002[bloom] -> c_current_cdemo_sk | stored statistics: @@ -206,6 +210,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -240,6 +245,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd1.cd_gender = 'F', cd1.cd_education_status = 'Primary' | stored statistics: | table: rows=1.92M size=11.15MB @@ -254,6 +260,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF011[min_max] -> cs_bill_cdemo_sk, RF007[min_max] -> cs_bill_customer_sk, RF001[min_max] -> cs_item_sk, RF010[bloom] -> cs_bill_cdemo_sk, RF008[bloom] -> cs_sold_date_sk, RF006[bloom] -> cs_bill_customer_sk, RF000[bloom] -> cs_item_sk stored statistics: table: rows=4.32G size=280.96GB @@ -455,6 +462,7 @@ max-parallelism=110 segment-costs=[800737616, 1004030271] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('IL', 'WV', 'KS', 'GA', 'LA', 'PA', 'TX') | stored statistics: | table: rows=15.00M size=307.36MB @@ -507,6 +515,7 @@ max-parallelism=110 segment-costs=[800737616, 1004030271] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: c_birth_month IN (CAST(6 AS INT), CAST(7 AS INT), CAST(3 AS INT), CAST(11 AS INT), CAST(12 AS INT), CAST(8 AS INT)) | runtime filters: RF005[min_max] -> c_current_addr_sk, RF003[min_max] -> c_current_cdemo_sk, RF004[bloom] -> c_current_addr_sk, RF002[bloom] -> c_current_cdemo_sk | stored statistics: @@ -559,6 +568,7 @@ max-parallelism=110 segment-costs=[800737616, 1004030271] cpu-comparison-result= | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -610,6 +620,7 @@ max-parallelism=110 segment-costs=[800737616, 1004030271] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd1.cd_gender = 'F', cd1.cd_education_status = 'Primary' | stored statistics: | table: rows=1.92M size=11.15MB @@ -823,6 +834,7 @@ max-parallelism=110 segment-costs=[204309019, 1004030271] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('IL', 'WV', 'KS', 'GA', 'LA', 'PA', 'TX') | stored statistics: | table: rows=15.00M size=307.36MB @@ -883,6 +895,7 @@ max-parallelism=50 segment-costs=[440687026] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: c_birth_month IN (CAST(6 AS INT), CAST(7 AS INT), CAST(3 AS INT), CAST(11 AS INT), CAST(12 AS INT), CAST(8 AS INT)) | runtime filters: RF005[min_max] -> c_current_addr_sk, RF003[min_max] -> c_current_cdemo_sk, RF004[bloom] -> c_current_addr_sk, RF002[bloom] -> c_current_cdemo_sk | stored statistics: @@ -944,6 +957,7 @@ max-parallelism=130 segment-costs=[1220571393] | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -995,6 +1009,7 @@ max-parallelism=130 segment-costs=[1220571393] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd1.cd_gender = 'F', cd1.cd_education_status = 'Primary' | stored statistics: | table: rows=1.92M size=11.15MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q19.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q19.test index 8c590c06e..a29ea5e34 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q19.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q19.test @@ -71,6 +71,7 @@ PLAN-ROOT SINK |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -90,6 +91,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -121,6 +123,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -153,6 +156,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -187,6 +191,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(26 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -213,6 +218,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF009[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -435,6 +441,7 @@ max-parallelism=30 segment-costs=[207631160] | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -498,6 +505,7 @@ max-parallelism=30 segment-costs=[207631160] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(26 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -524,6 +532,7 @@ max-parallelism=30 segment-costs=[207631160] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF009[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -746,6 +755,7 @@ max-parallelism=30 segment-costs=[207631160] | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -809,6 +819,7 @@ max-parallelism=30 segment-costs=[207631160] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(26 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -835,6 +846,7 @@ max-parallelism=30 segment-costs=[207631160] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF009[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q20.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q20.test index e282eeae2..ade34e5ad 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q20.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q20.test @@ -100,6 +100,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Books', 'Home', 'Jewelry') | stored statistics: | table: rows=360.00K size=33.54MB @@ -134,6 +135,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-06-07', d_date >= DATE '1998-05-08' | stored statistics: | table: rows=73.05K size=2.17MB @@ -148,6 +150,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_item_sk, RF000[bloom] -> cs_item_sk, RF002[bloom] -> cs_sold_date_sk stored statistics: table: rows=4.32G size=280.96GB @@ -267,6 +270,7 @@ max-parallelism=30 segment-costs=[175406369, 228483356] cpu-comparison-result=30 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Books', 'Home', 'Jewelry') | stored statistics: | table: rows=360.00K size=33.54MB @@ -318,6 +322,7 @@ max-parallelism=30 segment-costs=[175406369, 228483356] cpu-comparison-result=30 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-06-07', d_date >= DATE '1998-05-08' | stored statistics: | table: rows=73.05K size=2.17MB @@ -450,6 +455,7 @@ max-parallelism=30 segment-costs=[175406369, 228483356] cpu-comparison-result=30 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Books', 'Home', 'Jewelry') | stored statistics: | table: rows=360.00K size=33.54MB @@ -501,6 +507,7 @@ max-parallelism=30 segment-costs=[175406369, 228483356] cpu-comparison-result=30 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-06-07', d_date >= DATE '1998-05-08' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q21.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q21.test index e2e60ad71..52b0da6ae 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q21.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q21.test @@ -88,6 +88,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -119,6 +120,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-06-21', d_date >= DATE '2000-04-22' | stored statistics: | table: rows=73.05K size=2.17MB @@ -153,6 +155,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -179,6 +182,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory] HDFS partitions=261/261 files=261 size=5.10GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> inv_warehouse_sk, RF005[min_max] -> inv_item_sk, RF000[bloom] -> inv_warehouse_sk, RF002[bloom] -> inv_date_sk, RF004[bloom] -> inv_item_sk stored statistics: table: rows=1.03G size=5.10GB @@ -278,6 +282,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -326,6 +331,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-06-21', d_date >= DATE '2000-04-22' | stored statistics: | table: rows=73.05K size=2.17MB @@ -377,6 +383,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -403,6 +410,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 00:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory, RANDOM] HDFS partitions=261/261 files=261 size=5.10GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> inv_warehouse_sk, RF005[min_max] -> inv_item_sk, RF000[bloom] -> inv_warehouse_sk, RF002[bloom] -> inv_date_sk, RF004[bloom] -> inv_item_sk stored statistics: table: rows=1.03G size=5.10GB @@ -502,6 +510,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -550,6 +559,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2000-06-21', d_date >= DATE '2000-04-22' | stored statistics: | table: rows=73.05K size=2.17MB @@ -601,6 +611,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -627,6 +638,7 @@ max-parallelism=30 segment-costs=[243130875, 121305941] cpu-comparison-result=36 00:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory, RANDOM] HDFS partitions=261/261 files=261 size=5.10GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> inv_warehouse_sk, RF005[min_max] -> inv_item_sk, RF000[bloom] -> inv_warehouse_sk, RF002[bloom] -> inv_date_sk, RF004[bloom] -> inv_item_sk stored statistics: table: rows=1.03G size=5.10GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q22.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q22.test index 2f24a9072..ff63e3463 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q22.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q22.test @@ -107,6 +107,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1210 AS INT), d_month_seq >= CAST(1199 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -141,6 +142,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -152,6 +154,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory] HDFS partitions=261/261 files=261 size=5.10GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> inv_item_sk, RF000[bloom] -> inv_date_sk, RF002[bloom] -> inv_item_sk stored statistics: table: rows=1.03G size=5.10GB @@ -283,6 +286,7 @@ max-parallelism=261 segment-costs=[8962975991, 5356784990] cpu-comparison-result | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1210 AS INT), d_month_seq >= CAST(1199 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -334,6 +338,7 @@ max-parallelism=261 segment-costs=[8962975991, 5356784990] cpu-comparison-result | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -475,6 +480,7 @@ max-parallelism=261 segment-costs=[8962975991, 5356784990] cpu-comparison-result | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1210 AS INT), d_month_seq >= CAST(1199 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -526,6 +532,7 @@ max-parallelism=261 segment-costs=[8962975991, 5356784990] cpu-comparison-result | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23a.test index 3066d62d7..708624fa2 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23a.test @@ -120,6 +120,7 @@ PLAN-ROOT SINK | | | |--38:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | | | HDFS partitions=1/1 files=1 size=1.55GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=30.00M size=1.55GB | | | | columns: all @@ -151,6 +152,7 @@ PLAN-ROOT SINK | | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -165,6 +167,7 @@ PLAN-ROOT SINK | | | 37:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF029[min_max] -> ss_customer_sk, RF030[bloom] -> ss_sold_date_sk, RF028[bloom] -> ss_customer_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -268,6 +271,7 @@ PLAN-ROOT SINK | | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -299,6 +303,7 @@ PLAN-ROOT SINK | | | 28:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -313,6 +318,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF023[min_max] -> ss_item_sk, RF024[bloom] -> ss_sold_date_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -346,6 +352,7 @@ PLAN-ROOT SINK | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -430,6 +437,7 @@ PLAN-ROOT SINK | | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=30.00M size=1.55GB | | | columns: all @@ -461,6 +469,7 @@ PLAN-ROOT SINK | | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -475,6 +484,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF013[min_max] -> ss_customer_sk, RF014[bloom] -> ss_sold_date_sk, RF012[bloom] -> ss_customer_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -578,6 +588,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -609,6 +620,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -623,6 +635,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> ss_item_sk, RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -656,6 +669,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -870,6 +884,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1080,6 +1095,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -1128,6 +1144,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 28:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1191,6 +1208,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1370,6 +1388,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1580,6 +1599,7 @@ max-parallelism=109 segment-costs=[1083724189] | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -1628,6 +1648,7 @@ max-parallelism=109 segment-costs=[1083724189] | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1691,6 +1712,7 @@ max-parallelism=109 segment-costs=[1083724189] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1905,6 +1927,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2115,6 +2138,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -2163,6 +2187,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 28:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2226,6 +2251,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2405,6 +2431,7 @@ max-parallelism=109 segment-costs=[317220421, 185] cpu-comparison-result=742 [ma | | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2615,6 +2642,7 @@ max-parallelism=109 segment-costs=[1083724189] | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -2663,6 +2691,7 @@ max-parallelism=109 segment-costs=[1083724189] | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2726,6 +2755,7 @@ max-parallelism=109 segment-costs=[1083724189] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23b.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23b.test index c4c82e1cb..5f11eb53b 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23b.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q23b.test @@ -134,6 +134,7 @@ PLAN-ROOT SINK | | | |--42:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | | | HDFS partitions=1/1 files=1 size=1.55GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | stored statistics: | | | | table: rows=30.00M size=1.55GB | | | | columns: all @@ -165,6 +166,7 @@ PLAN-ROOT SINK | | | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -179,6 +181,7 @@ PLAN-ROOT SINK | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF033[min_max] -> ss_customer_sk, RF034[bloom] -> ss_sold_date_sk, RF032[bloom] -> ss_customer_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -282,6 +285,7 @@ PLAN-ROOT SINK | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -313,6 +317,7 @@ PLAN-ROOT SINK | | | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -327,6 +332,7 @@ PLAN-ROOT SINK | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF027[min_max] -> ss_item_sk, RF028[bloom] -> ss_sold_date_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -379,6 +385,7 @@ PLAN-ROOT SINK | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -470,6 +477,7 @@ PLAN-ROOT SINK | | |--15:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | | HDFS partitions=1/1 files=1 size=1.55GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=30.00M size=1.55GB | | | columns: all @@ -501,6 +509,7 @@ PLAN-ROOT SINK | | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -515,6 +524,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> ss_customer_sk, RF016[bloom] -> ss_sold_date_sk, RF014[bloom] -> ss_customer_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -618,6 +628,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -649,6 +660,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -663,6 +675,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> ss_item_sk, RF010[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -715,6 +728,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -947,6 +961,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1147,6 +1162,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -1195,6 +1211,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1303,6 +1320,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1504,6 +1522,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1705,6 +1724,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -1753,6 +1773,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1862,6 +1883,7 @@ max-parallelism=100 segment-costs=[972607869] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -2094,6 +2116,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2294,6 +2317,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=360.00K size=33.54MB | | | columns: all @@ -2342,6 +2366,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2450,6 +2475,7 @@ max-parallelism=120 segment-costs=[470461931, 296647992, 721685539, 167] cpu-com | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2651,6 +2677,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2852,6 +2879,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -2900,6 +2928,7 @@ max-parallelism=170 segment-costs=[1617058347, 799914421] cpu-comparison-result= | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -3009,6 +3038,7 @@ max-parallelism=100 segment-costs=[972607869] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(5 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24a.test index bd935c638..af5ffc9ea 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24a.test @@ -111,6 +111,7 @@ PLAN-ROOT SINK | |--18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=15.00M size=307.36MB | | columns: all @@ -130,6 +131,7 @@ PLAN-ROOT SINK | |--16:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -149,6 +151,7 @@ PLAN-ROOT SINK | |--17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF016[min_max] -> c_current_addr_sk | | stored statistics: | | table: rows=30.00M size=1.55GB @@ -169,6 +172,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | | HDFS partitions=2004/2004 files=2004 size=48.14GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF018[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk | | stored statistics: | | table: rows=863.99M size=48.14GB @@ -202,6 +206,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -217,6 +222,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF027[min_max] -> ss_store_sk, RF024[min_max] -> ss_item_sk, RF025[min_max] -> ss_ticket_number, RF021[min_max] -> ss_customer_sk, RF019[min_max] -> ss_item_sk, RF026[bloom] -> ss_store_sk, RF022[bloom] -> ss_item_sk, RF023[bloom] -> ss_ticket_number, RF020[bloom] -> ss_customer_sk, RF018[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -265,6 +271,7 @@ PLAN-ROOT SINK |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -284,6 +291,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF002[min_max] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -324,6 +332,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -359,6 +368,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'navy' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -373,6 +383,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> ss_item_sk, RF011[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF012[bloom] -> ss_item_sk, RF010[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -386,6 +397,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB @@ -678,6 +690,7 @@ max-parallelism=10 segment-costs=[75699697, 42670965, 25050821] cpu-comparison-r | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -900,6 +913,7 @@ max-parallelism=20 segment-costs=[171645227] | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -952,6 +966,7 @@ max-parallelism=20 segment-costs=[171645227] | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'navy' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -999,6 +1014,7 @@ max-parallelism=20 segment-costs=[192281583] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB @@ -1291,6 +1307,7 @@ max-parallelism=10 segment-costs=[75699697, 42670965, 25050821] cpu-comparison-r | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -1513,6 +1530,7 @@ max-parallelism=20 segment-costs=[171645227] | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -1565,6 +1583,7 @@ max-parallelism=20 segment-costs=[171645227] | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'navy' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1612,6 +1631,7 @@ max-parallelism=20 segment-costs=[192281583] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24b.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24b.test index e36f6048f..519afc724 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24b.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q24b.test @@ -112,6 +112,7 @@ PLAN-ROOT SINK | |--18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=15.00M size=307.36MB | | columns: all @@ -131,6 +132,7 @@ PLAN-ROOT SINK | |--16:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -150,6 +152,7 @@ PLAN-ROOT SINK | |--17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF016[min_max] -> c_current_addr_sk | | stored statistics: | | table: rows=30.00M size=1.55GB @@ -170,6 +173,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | | HDFS partitions=2004/2004 files=2004 size=48.14GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF018[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk | | stored statistics: | | table: rows=863.99M size=48.14GB @@ -203,6 +207,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -218,6 +223,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF027[min_max] -> ss_store_sk, RF024[min_max] -> ss_item_sk, RF025[min_max] -> ss_ticket_number, RF021[min_max] -> ss_customer_sk, RF019[min_max] -> ss_item_sk, RF026[bloom] -> ss_store_sk, RF022[bloom] -> ss_item_sk, RF023[bloom] -> ss_ticket_number, RF020[bloom] -> ss_customer_sk, RF018[bloom] -> ss_item_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -266,6 +272,7 @@ PLAN-ROOT SINK |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -285,6 +292,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF002[min_max] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -325,6 +333,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -360,6 +369,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'beige' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -374,6 +384,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> ss_item_sk, RF011[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF012[bloom] -> ss_item_sk, RF010[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -387,6 +398,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB @@ -679,6 +691,7 @@ max-parallelism=10 segment-costs=[75699697, 42670965, 25050821] cpu-comparison-r | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -901,6 +914,7 @@ max-parallelism=20 segment-costs=[171645227] | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -953,6 +967,7 @@ max-parallelism=20 segment-costs=[171645227] | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'beige' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1000,6 +1015,7 @@ max-parallelism=20 segment-costs=[192281583] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB @@ -1292,6 +1308,7 @@ max-parallelism=10 segment-costs=[75699697, 42670965, 25050821] cpu-comparison-r | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF017[min_max] -> s_zip | | stored statistics: @@ -1514,6 +1531,7 @@ max-parallelism=20 segment-costs=[171645227] | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_market_id = CAST(10 AS INT) | | runtime filters: RF003[min_max] -> s_zip | | stored statistics: @@ -1566,6 +1584,7 @@ max-parallelism=20 segment-costs=[171645227] | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.item.i_color = 'beige' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1613,6 +1632,7 @@ max-parallelism=20 segment-costs=[192281583] 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF008[min_max] -> sr_item_sk, RF009[min_max] -> sr_ticket_number, RF006[bloom] -> sr_item_sk, RF007[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q25.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q25.test index b44b18bc1..5cb675e0d 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q25.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q25.test @@ -93,6 +93,7 @@ PLAN-ROOT SINK |--06:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -136,6 +137,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year = CAST(2002 AS INT), d3.d_moy <= CAST(10 AS INT), d3.d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -178,6 +180,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -209,6 +212,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(2002 AS INT), d2.d_moy <= CAST(10 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -251,6 +255,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2002 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -265,6 +270,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF009[min_max] -> ss_item_sk, RF001[min_max] -> ss_store_sk, RF018[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk, RF000[bloom] -> ss_store_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -278,6 +284,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> sr_customer_sk, RF016[min_max] -> sr_item_sk, RF017[min_max] -> sr_ticket_number, RF009[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF010[bloom] -> sr_returned_date_sk, RF012[bloom] -> sr_customer_sk, RF013[bloom] -> sr_item_sk, RF014[bloom] -> sr_ticket_number, RF008[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -291,6 +298,7 @@ PLAN-ROOT SINK 02:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF006[min_max] -> cs_bill_customer_sk, RF007[min_max] -> cs_item_sk, RF004[bloom] -> cs_bill_customer_sk, RF005[bloom] -> cs_item_sk, RF002[bloom] -> cs_sold_date_sk stored statistics: table: rows=4.32G size=280.96GB @@ -423,6 +431,7 @@ max-parallelism=10 segment-costs=[96713246, 20872707] cpu-comparison-result=176 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year = CAST(2002 AS INT), d3.d_moy <= CAST(10 AS INT), d3.d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -499,6 +508,7 @@ max-parallelism=10 segment-costs=[96713246, 20872707] cpu-comparison-result=176 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -547,6 +557,7 @@ max-parallelism=10 segment-costs=[96713246, 20872707] cpu-comparison-result=176 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(2002 AS INT), d2.d_moy <= CAST(10 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -624,6 +635,7 @@ max-parallelism=10 segment-costs=[96713246, 20872707] cpu-comparison-result=176 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2002 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -811,6 +823,7 @@ max-parallelism=20 segment-costs=[140962040, 20872707] cpu-comparison-result=176 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year = CAST(2002 AS INT), d3.d_moy <= CAST(10 AS INT), d3.d_moy >= CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -887,6 +900,7 @@ max-parallelism=20 segment-costs=[140962040, 20872707] cpu-comparison-result=176 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -943,6 +957,7 @@ max-parallelism=20 segment-costs=[140962040, 20872707] cpu-comparison-result=176 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(2002 AS INT), d2.d_moy <= CAST(10 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1020,6 +1035,7 @@ max-parallelism=20 segment-costs=[140962040, 20872707] cpu-comparison-result=176 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2002 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q26.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q26.test index 06f5d4264..5f72bde2e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q26.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q26.test @@ -66,6 +66,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | HDFS partitions=1/1 files=1 size=100.50KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (p_channel_email = 'N' OR p_channel_event = 'N') | stored statistics: | table: rows=1.80K size=100.50KB @@ -86,6 +87,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -117,6 +119,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -151,6 +154,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'M', cd_gender = 'F', cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -165,6 +169,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_promo_sk, RF003[min_max] -> cs_item_sk, RF007[min_max] -> cs_bill_cdemo_sk, RF000[bloom] -> cs_promo_sk, RF002[bloom] -> cs_item_sk, RF004[bloom] -> cs_sold_date_sk, RF006[bloom] -> cs_bill_cdemo_sk stored statistics: table: rows=4.32G size=280.96GB @@ -334,6 +339,7 @@ max-parallelism=60 segment-costs=[586081151, 84033344] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -385,6 +391,7 @@ max-parallelism=60 segment-costs=[586081151, 84033344] cpu-comparison-result=60 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'M', cd_gender = 'F', cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -567,6 +574,7 @@ max-parallelism=60 segment-costs=[586081151, 84033344] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -618,6 +626,7 @@ max-parallelism=60 segment-costs=[586081151, 84033344] cpu-comparison-result=60 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'M', cd_gender = 'F', cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q27.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q27.test index 06b379c33..6973e9bc3 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q27.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q27.test @@ -94,6 +94,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -125,6 +126,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('WA', 'LA', 'LA', 'TX', 'AL', 'PA') | stored statistics: | table: rows=1.35K size=119.76KB @@ -159,6 +161,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -193,6 +196,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'S', cd_gender = 'F', cd_education_status = 'Advanced Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -207,6 +211,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF003[min_max] -> ss_store_sk, RF007[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_item_sk, RF002[bloom] -> ss_store_sk, RF004[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_cdemo_sk stored statistics: table: rows=8.64G size=389.90GB @@ -361,6 +366,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('WA', 'LA', 'LA', 'TX', 'AL', 'PA') | stored statistics: | table: rows=1.35K size=119.76KB @@ -412,6 +418,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -463,6 +470,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'S', cd_gender = 'F', cd_education_status = 'Advanced Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -630,6 +638,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('WA', 'LA', 'LA', 'TX', 'AL', 'PA') | stored statistics: | table: rows=1.35K size=119.76KB @@ -681,6 +690,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -732,6 +742,7 @@ max-parallelism=150 segment-costs=[1402757021, 731901770] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'S', cd_gender = 'F', cd_education_status = 'Advanced Degree' | stored statistics: | table: rows=1.92M size=11.15MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q28.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q28.test index 6da21e037..4ecff4605 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q28.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q28.test @@ -108,6 +108,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(30 AS INT), ss_quantity >= CAST(26 AS INT), (ss_list_price >= CAST(49 AS DECIMAL(3,0)) AND ss_list_price <= CAST(59 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(2950 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(3950 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(52 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(72 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -177,6 +178,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(25 AS INT), ss_quantity >= CAST(21 AS INT), (ss_list_price >= CAST(180 AS DECIMAL(5,0)) AND ss_list_price <= CAST(190 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(17430 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(18430 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(57 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(77 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -246,6 +248,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(16 AS INT), (ss_list_price >= CAST(135 AS DECIMAL(5,0)) AND ss_list_price <= CAST(145 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4905 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5905 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(27 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(47 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -315,6 +318,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(15 AS INT), ss_quantity >= CAST(11 AS INT), (ss_list_price >= CAST(183 AS DECIMAL(5,0)) AND ss_list_price <= CAST(193 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(13456 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(14456 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(31 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(51 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -384,6 +388,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(10 AS INT), ss_quantity >= CAST(6 AS INT), (ss_list_price >= CAST(71 AS DECIMAL(3,0)) AND ss_list_price <= CAST(81 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(14775 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(15775 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(38 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(58 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -436,6 +441,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(5 AS INT), ss_quantity >= CAST(0 AS INT), (ss_list_price >= CAST(189 AS DECIMAL(5,0)) AND ss_list_price <= CAST(199 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4483 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5483 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(24 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(44 AS DECIMAL(5,0))) stored statistics: table: rows=8.64G size=389.90GB @@ -536,6 +542,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(30 AS INT), ss_quantity >= CAST(26 AS INT), (ss_list_price >= CAST(49 AS DECIMAL(3,0)) AND ss_list_price <= CAST(59 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(2950 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(3950 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(52 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(72 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -626,6 +633,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(25 AS INT), ss_quantity >= CAST(21 AS INT), (ss_list_price >= CAST(180 AS DECIMAL(5,0)) AND ss_list_price <= CAST(190 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(17430 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(18430 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(57 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(77 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -716,6 +724,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(16 AS INT), (ss_list_price >= CAST(135 AS DECIMAL(5,0)) AND ss_list_price <= CAST(145 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4905 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5905 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(27 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(47 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -806,6 +815,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(15 AS INT), ss_quantity >= CAST(11 AS INT), (ss_list_price >= CAST(183 AS DECIMAL(5,0)) AND ss_list_price <= CAST(193 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(13456 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(14456 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(31 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(51 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -896,6 +906,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(10 AS INT), ss_quantity >= CAST(6 AS INT), (ss_list_price >= CAST(71 AS DECIMAL(3,0)) AND ss_list_price <= CAST(81 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(14775 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(15775 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(38 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(58 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -965,6 +976,7 @@ max-parallelism=310 segment-costs=[3038520751, 4381776] 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(5 AS INT), ss_quantity >= CAST(0 AS INT), (ss_list_price >= CAST(189 AS DECIMAL(5,0)) AND ss_list_price <= CAST(199 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4483 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5483 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(24 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(44 AS DECIMAL(5,0))) stored statistics: table: rows=8.64G size=389.90GB @@ -1065,6 +1077,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(30 AS INT), ss_quantity >= CAST(26 AS INT), (ss_list_price >= CAST(49 AS DECIMAL(3,0)) AND ss_list_price <= CAST(59 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(2950 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(3950 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(52 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(72 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1155,6 +1168,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(25 AS INT), ss_quantity >= CAST(21 AS INT), (ss_list_price >= CAST(180 AS DECIMAL(5,0)) AND ss_list_price <= CAST(190 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(17430 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(18430 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(57 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(77 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1245,6 +1259,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(20 AS INT), ss_quantity >= CAST(16 AS INT), (ss_list_price >= CAST(135 AS DECIMAL(5,0)) AND ss_list_price <= CAST(145 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4905 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5905 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(27 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(47 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1335,6 +1350,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(15 AS INT), ss_quantity >= CAST(11 AS INT), (ss_list_price >= CAST(183 AS DECIMAL(5,0)) AND ss_list_price <= CAST(193 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(13456 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(14456 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(31 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(51 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1425,6 +1441,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_quantity <= CAST(10 AS INT), ss_quantity >= CAST(6 AS INT), (ss_list_price >= CAST(71 AS DECIMAL(3,0)) AND ss_list_price <= CAST(81 AS DECIMAL(5,0)) OR ss_coupon_amt >= CAST(14775 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(15775 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(38 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(58 AS DECIMAL(5,0))) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1494,6 +1511,7 @@ max-parallelism=310 segment-costs=[3038520751, 4381776] 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_quantity <= CAST(5 AS INT), ss_quantity >= CAST(0 AS INT), (ss_list_price >= CAST(189 AS DECIMAL(5,0)) AND ss_list_price <= CAST(199 AS DECIMAL(10,0)) OR ss_coupon_amt >= CAST(4483 AS DECIMAL(5,0)) AND ss_coupon_amt <= CAST(5483 AS DECIMAL(10,0)) OR ss_wholesale_cost >= CAST(24 AS DECIMAL(3,0)) AND ss_wholesale_cost <= CAST(44 AS DECIMAL(5,0))) stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q29.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q29.test index 6a0aa7356..3df656cbd 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q29.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q29.test @@ -110,6 +110,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -152,6 +153,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -183,6 +185,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(1998 AS INT), d2.d_moy <= CAST(7 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -225,6 +228,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(1998 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -394,6 +398,7 @@ max-parallelism=90 segment-costs=[838762120, 178028327] cpu-comparison-result=17 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -470,6 +475,7 @@ max-parallelism=90 segment-costs=[838762120, 178028327] cpu-comparison-result=17 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -518,6 +524,7 @@ max-parallelism=90 segment-costs=[838762120, 178028327] cpu-comparison-result=17 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(1998 AS INT), d2.d_moy <= CAST(7 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -595,6 +602,7 @@ max-parallelism=90 segment-costs=[838762120, 178028327] cpu-comparison-result=17 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(1998 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -782,6 +790,7 @@ max-parallelism=130 segment-costs=[1258000705, 178028327] cpu-comparison-result= | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d3, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d3.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -858,6 +867,7 @@ max-parallelism=130 segment-costs=[1258000705, 178028327] cpu-comparison-result= | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -914,6 +924,7 @@ max-parallelism=130 segment-costs=[1258000705, 178028327] cpu-comparison-result= | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d2.d_year = CAST(1998 AS INT), d2.d_moy <= CAST(7 AS INT), d2.d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -991,6 +1002,7 @@ max-parallelism=130 segment-costs=[1258000705, 178028327] cpu-comparison-result= | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(1998 AS INT), d1.d_moy = CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q30.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q30.test index a52de3737..4fddb244a 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q30.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q30.test @@ -91,6 +91,7 @@ PLAN-ROOT SINK | |--10:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=15.00M size=307.36MB | | columns: all @@ -122,6 +123,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -136,6 +138,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | HDFS partitions=2114/2114 files=2114 size=16.74GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> wr_returning_addr_sk, RF012[bloom] -> wr_returned_date_sk, RF010[bloom] -> wr_returning_addr_sk | stored statistics: | table: rows=216.00M size=16.74GB @@ -189,6 +192,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'GA' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -215,6 +219,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -273,6 +278,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -474,6 +480,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -575,6 +582,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'GA' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -601,6 +609,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -726,6 +735,7 @@ max-parallelism=20 segment-costs=[123639497] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -927,6 +937,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1028,6 +1039,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'GA' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1054,6 +1066,7 @@ max-parallelism=10 segment-costs=[74581045, 545] cpu-comparison-result=122 [max( | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -1179,6 +1192,7 @@ max-parallelism=20 segment-costs=[123639497] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q31.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q31.test index 49b1c1b99..9112e6e9d 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q31.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q31.test @@ -106,6 +106,7 @@ PLAN-ROOT SINK | |--32:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=15.00M size=307.36MB | | columns: all @@ -137,6 +138,7 @@ PLAN-ROOT SINK | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -151,6 +153,7 @@ PLAN-ROOT SINK | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF031[min_max] -> ws_bill_addr_sk, RF032[bloom] -> ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -200,6 +203,7 @@ PLAN-ROOT SINK | |--26:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -232,6 +236,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -246,6 +251,7 @@ PLAN-ROOT SINK | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF027[min_max] -> ws_bill_addr_sk, RF028[bloom] -> ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -294,6 +300,7 @@ PLAN-ROOT SINK | |--20:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF003[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -326,6 +333,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -340,6 +348,7 @@ PLAN-ROOT SINK | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF023[min_max] -> ws_bill_addr_sk, RF024[bloom] -> ws_sold_date_sk, RF022[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -388,6 +397,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF003[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF005[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -420,6 +430,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -434,6 +445,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF019[min_max] -> ss_addr_sk, RF020[bloom] -> ss_sold_date_sk, RF018[bloom] -> ss_addr_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -494,6 +506,7 @@ PLAN-ROOT SINK | |--08:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF003[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF005[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF007[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -526,6 +539,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -540,6 +554,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> ss_addr_sk, RF016[bloom] -> ss_sold_date_sk, RF014[bloom] -> ss_addr_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -580,6 +595,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF003[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF005[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF007[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county, RF009[min_max] -> tpcds_partitioned_parquet_snap.customer_address.ca_county | stored statistics: | table: rows=15.00M size=307.36MB @@ -612,6 +628,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -626,6 +643,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF011[min_max] -> ss_addr_sk, RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_addr_sk stored statistics: table: rows=8.64G size=389.90GB @@ -792,6 +810,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -948,6 +967,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1103,6 +1123,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1250,6 +1271,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1397,6 +1419,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1527,6 +1550,7 @@ max-parallelism=187 segment-costs=[2090696050, 817464] cpu-comparison-result=120 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1706,6 +1730,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 31:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1862,6 +1887,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2017,6 +2043,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2164,6 +2191,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2311,6 +2339,7 @@ max-parallelism=20 segment-costs=[112169708, 54217325] cpu-comparison-result=750 | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2441,6 +2470,7 @@ max-parallelism=187 segment-costs=[2090696050, 817464] cpu-comparison-result=120 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_qoy = CAST(1 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q32.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q32.test index a1d1bfc91..f0b8a8b68 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q32.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q32.test @@ -45,7 +45,7 @@ PLAN-ROOT SINK | in pipelines: 10(GETNEXT), 00(OPEN) | 18:TUPLE CACHE -| cache key: da6da09eacddf981d4240b4e33a4356f +| cache key: c89ceeedaa6209a74fa39627ae62ae8d | input scan node ids: 0,1,2,3,4 | estimated serialized size: 8.53MB | estimated serialized size per node: 873.21KB @@ -65,7 +65,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 06(OPEN) | |--17:TUPLE CACHE -| | cache key: 348dc72c31a29011b1fafed5eee095be +| | cache key: a254668d8114610f1344c744f2c022cb | | input scan node ids: 3,4 | | estimated serialized size: 5.50MB | | estimated serialized size per node: 562.78KB @@ -106,6 +106,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -120,6 +121,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -131,7 +133,7 @@ PLAN-ROOT SINK | in pipelines: 03(GETNEXT) | 15:TUPLE CACHE -| cache key: 818fd1b21c07afdec6ad20712a330664 +| cache key: f3e3a8449bbc6ec279451669b74f25fe | input scan node ids: 0,1,2 | estimated serialized size: 8.53MB | estimated serialized size per node: 873.21KB @@ -165,6 +167,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | stored statistics: | table: rows=73.05K size=2.17MB @@ -177,7 +180,7 @@ PLAN-ROOT SINK | in pipelines: 02(GETNEXT) | 13:TUPLE CACHE -| cache key: 16c28937a9f9fbede98af82a9236b7ef +| cache key: 0cf87513453e4bab4ec3e43a41ec19f4 | input scan node ids: 0,1 | estimated serialized size: 5.97MB | estimated serialized size per node: 611.24KB @@ -197,7 +200,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 01(OPEN) | |--12:TUPLE CACHE -| | cache key: e263f9e3da19540cfcef2dc61a92bfc6 +| | cache key: d4559916fd1a7170be59a6d02eac2789 | | input scan node ids: 1 | | estimated serialized size: 4.39KB | | estimated serialized size per node: 1.10KB @@ -211,6 +214,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manufact_id = CAST(948 AS INT) | runtime filters: RF001[min_max] -> i_item_sk, RF000[bloom] -> i_item_sk | stored statistics: @@ -224,7 +228,7 @@ PLAN-ROOT SINK | in pipelines: 01(GETNEXT) | 11:TUPLE CACHE -| cache key: 9c0116f07b54af07e4e60214e5fc9eff +| cache key: 8d413dc4da684983932914e320a6ce55 | input scan node ids: 0 | estimated serialized size: 3.41MB | estimated serialized size per node: 349.28KB @@ -238,6 +242,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF005[min_max] -> cs_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF002[bloom] -> cs_sold_date_sk, RF004[bloom] -> cs_item_sk stored statistics: table: rows=4.32G size=280.96GB @@ -312,7 +317,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | Per-Instance Resources: mem-estimate=37.62MB mem-reservation=22.00MB thread-reservation=1 | max-parallelism=40 segment-costs=[305783037, 55282093] cpu-comparison-result=40 [max(40 (self) vs 11 (sum children))] | 21:TUPLE CACHE -| | cache key: e8915ae650c0ff0fb75c84950dea39fb +| | cache key: 51c6f6539fe7e9a5f975c3691007c7b9 | | input scan node ids: 3 | | estimated serialized size: 654.92MB | | estimated serialized size per node: 65.49MB @@ -370,6 +375,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -384,6 +390,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -443,6 +450,7 @@ max-parallelism=10 segment-costs=[38820017] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | stored statistics: | table: rows=73.05K size=2.17MB @@ -570,7 +578,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | Per-Instance Resources: mem-estimate=37.62MB mem-reservation=22.00MB thread-reservation=1 | max-parallelism=40 segment-costs=[305783037, 55282093] cpu-comparison-result=40 [max(40 (self) vs 11 (sum children))] | 21:TUPLE CACHE -| | cache key: e8915ae650c0ff0fb75c84950dea39fb +| | cache key: 51c6f6539fe7e9a5f975c3691007c7b9 | | input scan node ids: 3 | | estimated serialized size: 654.92MB | | estimated serialized size per node: 65.49MB @@ -628,6 +636,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -642,6 +651,7 @@ max-parallelism=10 segment-costs=[183570, 185] cpu-comparison-result=65 [max(20 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -701,6 +711,7 @@ max-parallelism=10 segment-costs=[38820017] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1998-05-04', d_date >= DATE '1998-02-03' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q33.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q33.test index 626e04d0d..339540d79 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q33.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q33.test @@ -161,6 +161,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -183,6 +184,7 @@ PLAN-ROOT SINK | |--26:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> i_manufact_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -227,6 +229,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -261,6 +264,7 @@ PLAN-ROOT SINK | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -275,6 +279,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk, RF018[bloom] -> ws_item_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -332,6 +337,7 @@ PLAN-ROOT SINK | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -354,6 +360,7 @@ PLAN-ROOT SINK | |--15:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF009[min_max] -> i_manufact_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -386,6 +393,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -420,6 +428,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -434,6 +443,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk, RF010[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -491,6 +501,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Electronics') | stored statistics: | table: rows=360.00K size=33.54MB @@ -513,6 +524,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> i_manufact_id, RF000[bloom] -> i_manufact_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -545,6 +557,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -579,6 +592,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -593,6 +607,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -749,6 +764,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -836,6 +852,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -887,6 +904,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1004,6 +1022,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1091,6 +1110,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1142,6 +1162,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1259,6 +1280,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Electronics') | stored statistics: | table: rows=360.00K size=33.54MB @@ -1347,6 +1369,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -1398,6 +1421,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1567,6 +1591,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1654,6 +1679,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1705,6 +1731,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1822,6 +1849,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Electronics') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1909,6 +1937,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1960,6 +1989,7 @@ max-parallelism=60 segment-costs=[59409, 59409, 59409, 8580, 5176] cpu-compariso | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2077,6 +2107,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Electronics') | stored statistics: | table: rows=360.00K size=33.54MB @@ -2165,6 +2196,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -2216,6 +2248,7 @@ max-parallelism=60 segment-costs=[581224404, 207079] cpu-comparison-result=60 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q34.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q34.test index 3ca753e98..c4ec8c58a 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q34.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q34.test @@ -109,6 +109,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Jefferson Davis Parish', 'Levy County', 'Coal County', 'Oglethorpe County', 'Mobile County', 'Gage County', 'Richland County', 'Gogebic County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -143,6 +144,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)), (date_dim.d_dom >= CAST(1 AS INT) AND date_dim.d_dom <= CAST(3 AS INT) OR date_dim.d_dom >= CAST(25 AS INT) AND date_dim.d_dom <= CAST(28 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -177,6 +179,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', '5001-10000'), (CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END) > CAST(1.2 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -191,6 +194,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_store_sk, RF004[bloom] -> store_sales.ss_sold_date_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -216,6 +220,7 @@ PLAN-ROOT SINK 08:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] HDFS partitions=1/1 files=1 size=1.55GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> c_customer_sk, RF000[bloom] -> c_customer_sk stored statistics: table: rows=30.00M size=1.55GB @@ -351,6 +356,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Jefferson Davis Parish', 'Levy County', 'Coal County', 'Oglethorpe County', 'Mobile County', 'Gage County', 'Richland County', 'Gogebic County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -402,6 +408,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)), (date_dim.d_dom >= CAST(1 AS INT) AND date_dim.d_dom <= CAST(3 AS INT) OR date_dim.d_dom >= CAST(25 AS INT) AND date_dim.d_dom <= CAST(28 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -453,6 +460,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', '5001-10000'), (CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END) > CAST(1.2 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -467,6 +475,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_store_sk, RF004[bloom] -> store_sales.ss_sold_date_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -614,6 +623,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Jefferson Davis Parish', 'Levy County', 'Coal County', 'Oglethorpe County', 'Mobile County', 'Gage County', 'Richland County', 'Gogebic County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -665,6 +675,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)), (date_dim.d_dom >= CAST(1 AS INT) AND date_dim.d_dom <= CAST(3 AS INT) OR date_dim.d_dom >= CAST(25 AS INT) AND date_dim.d_dom <= CAST(28 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -716,6 +727,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', '5001-10000'), (CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END) > CAST(1.2 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -730,6 +742,7 @@ max-parallelism=10 segment-costs=[23141949, 8033154] cpu-comparison-result=100 [ | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_store_sk, RF004[bloom] -> store_sales.ss_sold_date_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q35a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q35a.test index 9d374c1f2..32ae5ec84 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q35a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q35a.test @@ -77,7 +77,7 @@ PLAN-ROOT SINK | in pipelines: 20(GETNEXT), 19(OPEN) | 26:TUPLE CACHE -| cache key: 81b44579f9851e330f60e1c83f200180 +| cache key: 35f2fb75a9b4aee329e9d9358512fe4f | input scan node ids: 0,2,1,3,4,7,8,10,11 | estimated serialized size: 16.68MB | estimated serialized size per node: 1.67MB @@ -103,7 +103,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 17(OPEN) | |--25:TUPLE CACHE -| | cache key: 501487fbb0b70b8d1bbfae39785e8f45 +| | cache key: f5dfe037af43778fab3e79809acccd52 | | input scan node ids: 7,8,10,11 | | estimated serialized size: 498.05MB | | estimated serialized size per node: 49.81MB @@ -148,6 +148,7 @@ PLAN-ROOT SINK | | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -162,6 +163,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF012[bloom] -> cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -195,6 +197,7 @@ PLAN-ROOT SINK | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -209,6 +212,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF010[bloom] -> ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -227,7 +231,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 15(OPEN) | |--22:TUPLE CACHE -| | cache key: 31a5e189d16beb16f804eae265dabf56 +| | cache key: 99edc73f7ca00b3e03de158b21ab3568 | | input scan node ids: 3,4 | | estimated serialized size: 249.33MB | | estimated serialized size per node: 24.93MB @@ -267,6 +271,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -281,6 +286,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_customer_sk, RF008[bloom] -> ss_sold_date_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_customer_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -302,6 +308,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -321,6 +328,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.92M size=11.15MB | columns: all @@ -332,6 +340,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer c] HDFS partitions=1/1 files=1 size=1.55GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF007[min_max] -> c.c_current_cdemo_sk, RF001[min_max] -> c.c_customer_sk, RF003[min_max] -> c.c_customer_sk, RF005[min_max] -> c.c_current_addr_sk, RF006[bloom] -> c.c_current_cdemo_sk, RF000[bloom] -> c.c_customer_sk, RF002[bloom] -> c.c_customer_sk, RF004[bloom] -> c.c_current_addr_sk stored statistics: table: rows=30.00M size=1.55GB @@ -470,6 +479,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -533,6 +543,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -633,6 +644,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -891,6 +903,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -954,6 +967,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1054,6 +1068,7 @@ max-parallelism=20 segment-costs=[102313632, 11716111] cpu-comparison-result=308 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q36.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q36.test index 7360c4956..f7a645f47 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q36.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q36.test @@ -116,6 +116,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -147,6 +148,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('OH', 'WV', 'PA', 'TN', 'MN', 'MO', 'NM', 'MI') | stored statistics: | table: rows=1.35K size=119.76KB @@ -181,6 +183,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -195,6 +198,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF003[min_max] -> ss_store_sk, RF000[bloom] -> ss_item_sk, RF002[bloom] -> ss_store_sk, RF004[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -384,6 +388,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('OH', 'WV', 'PA', 'TN', 'MN', 'MO', 'NM', 'MI') | stored statistics: | table: rows=1.35K size=119.76KB @@ -435,6 +440,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -449,6 +455,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF003[min_max] -> ss_store_sk, RF000[bloom] -> ss_item_sk, RF002[bloom] -> ss_store_sk, RF004[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -638,6 +645,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_state IN ('OH', 'WV', 'PA', 'TN', 'MN', 'MO', 'NM', 'MI') | stored statistics: | table: rows=1.35K size=119.76KB @@ -689,6 +697,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(1998 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -703,6 +712,7 @@ max-parallelism=374 segment-costs=[6602771919, 1636865] cpu-comparison-result=12 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF003[min_max] -> ss_store_sk, RF000[bloom] -> ss_item_sk, RF002[bloom] -> ss_store_sk, RF004[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q37.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q37.test index 026902e31..320d8f3b8 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q37.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q37.test @@ -73,6 +73,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-03-21', d_date >= DATE '2001-01-20' | stored statistics: | table: rows=73.05K size=2.17MB @@ -127,6 +128,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price <= CAST(65 AS DECIMAL(5,0)), i_current_price >= CAST(35 AS DECIMAL(3,0)), i_manufact_id IN (CAST(928 AS INT), CAST(715 AS INT), CAST(942 AS INT), CAST(861 AS INT)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -153,6 +155,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> cs_item_sk, RF004[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -166,6 +169,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory] HDFS partitions=261/261 files=261 size=5.10GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: inv_quantity_on_hand <= CAST(500 AS INT), inv_quantity_on_hand >= CAST(100 AS INT) runtime filters: RF003[min_max] -> inv_item_sk, RF000[bloom] -> inv_date_sk, RF002[bloom] -> inv_item_sk stored statistics: @@ -264,6 +268,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-03-21', d_date >= DATE '2001-01-20' | stored statistics: | table: rows=73.05K size=2.17MB @@ -353,6 +358,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price <= CAST(65 AS DECIMAL(5,0)), i_current_price >= CAST(35 AS DECIMAL(3,0)), i_manufact_id IN (CAST(928 AS INT), CAST(715 AS INT), CAST(942 AS INT), CAST(861 AS INT)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -379,6 +385,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> cs_item_sk, RF004[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -498,6 +505,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-03-21', d_date >= DATE '2001-01-20' | stored statistics: | table: rows=73.05K size=2.17MB @@ -587,6 +595,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price <= CAST(65 AS DECIMAL(5,0)), i_current_price >= CAST(35 AS DECIMAL(3,0)), i_manufact_id IN (CAST(928 AS INT), CAST(715 AS INT), CAST(942 AS INT), CAST(861 AS INT)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -613,6 +622,7 @@ max-parallelism=160 segment-costs=[1552568949, 424485102] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> cs_item_sk, RF004[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q38.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q38.test index af6c16006..b5d4f7521 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q38.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q38.test @@ -75,6 +75,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -152,6 +153,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -208,7 +210,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 01(OPEN) | |--21:TUPLE CACHE -| | cache key: 6c1a2d4f1ab0839d24ce96360f457ede +| | cache key: b06eb00dd7a571809651a656cf90f0aa | | input scan node ids: 1 | | estimated serialized size: 114.14KB | | estimated serialized size per node: 114.14KB @@ -222,6 +224,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | runtime filters: RF000[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_date, RF003[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_date | stored statistics: @@ -380,6 +383,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -523,6 +527,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -805,6 +810,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -957,6 +963,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1233 AS INT), d_month_seq >= CAST(1222 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39a.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39a.test index e3f05efe9..03125992e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39a.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39a.test @@ -80,6 +80,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -129,6 +130,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -183,6 +185,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.warehouse.w_warehouse_sk, RF001[bloom] -> tpcds_partitioned_parquet_snap.warehouse.w_warehouse_sk | stored statistics: | table: rows=22 size=5.99KB @@ -234,6 +237,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -370,6 +374,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -453,6 +458,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -622,6 +628,7 @@ max-parallelism=108 segment-costs=[3213076826, 1763155857] cpu-comparison-result | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -758,6 +765,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -841,6 +849,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1010,6 +1019,7 @@ max-parallelism=108 segment-costs=[3213076826, 1763155857] cpu-comparison-result | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39b.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39b.test index 2e7f5e95f..7aba131fa 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39b.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q39b.test @@ -82,6 +82,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -131,6 +132,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -185,6 +187,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.warehouse.w_warehouse_sk, RF001[bloom] -> tpcds_partitioned_parquet_snap.warehouse.w_warehouse_sk | stored statistics: | table: rows=22 size=5.99KB @@ -236,6 +239,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -372,6 +376,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -455,6 +460,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -624,6 +630,7 @@ max-parallelism=108 segment-costs=[3213076826, 1763155857] cpu-comparison-result | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -760,6 +767,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -843,6 +851,7 @@ max-parallelism=20 segment-costs=[156013181, 76153116] cpu-comparison-result=240 | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(5 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1012,6 +1021,7 @@ max-parallelism=108 segment-costs=[3213076826, 1763155857] cpu-comparison-result | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), tpcds_partitioned_parquet_snap.date_dim.d_moy = CAST(4 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q40.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q40.test index 403e82f45..28d9ca9d3 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q40.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q40.test @@ -44,7 +44,7 @@ PLAN-ROOT SINK | in pipelines: 10(GETNEXT), 09(OPEN) | 13:TUPLE CACHE -| cache key: 77ca5df52de1bbd7e8c7c03c7cdbb0a5 +| cache key: 5bbc01bffdf0fd3eae7ce0691993d101 | input scan node ids: 0,1,4,3,2 | estimated serialized size: 179.45MB | estimated serialized size per node: 17.95MB @@ -73,6 +73,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -104,6 +105,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -138,6 +140,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-03-04', d_date >= DATE '1999-01-03' | stored statistics: | table: rows=73.05K size=2.17MB @@ -159,6 +162,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_item_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -172,6 +176,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_warehouse_sk, RF003[min_max] -> cs_item_sk, RF000[bloom] -> cs_warehouse_sk, RF002[bloom] -> cs_item_sk, RF004[bloom] -> cs_sold_date_sk stored statistics: table: rows=4.32G size=280.96GB @@ -304,6 +309,7 @@ max-parallelism=110 segment-costs=[1044734340, 74109479] cpu-comparison-result=1 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -355,6 +361,7 @@ max-parallelism=110 segment-costs=[1044734340, 74109479] cpu-comparison-result=1 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-03-04', d_date >= DATE '1999-01-03' | stored statistics: | table: rows=73.05K size=2.17MB @@ -546,6 +553,7 @@ max-parallelism=110 segment-costs=[1044734340, 74109479] cpu-comparison-result=1 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(1.49 AS DECIMAL(3,2)), i_current_price >= CAST(0.99 AS DECIMAL(2,2)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -597,6 +605,7 @@ max-parallelism=110 segment-costs=[1044734340, 74109479] cpu-comparison-result=1 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-03-04', d_date >= DATE '1999-01-03' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q41.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q41.test index 200a0fd1b..7fea8dc2a 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q41.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q41.test @@ -140,6 +140,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category = 'Women' AND ((i_color IN ('beige', 'spring') AND i_units IN ('Tsp', 'Ton') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('white', 'pale') AND i_units IN ('Box', 'Dram') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('midnight', 'frosted') AND i_units IN ('Bunch', 'Carton') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('azure', 'goldenrod') AND i_units IN ('Pallet', 'Gross') AND i_size IN ('petite', 'extra large'))) OR (i_category = 'Women' AND ((i_color IN ('brown', 'hot') AND i_units IN ('Tbl', 'Cup') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('powder', 'honeydew') AND i_units IN ('Bundle', 'Unknown') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('antique', 'purple') AND i_units IN ('N/A', 'Dozen') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('lavender', 'tomato') AND i_units IN ('Lb', 'Oz') AND i_size IN ('petite', 'extra large')))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -164,6 +165,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item i1] HDFS partitions=1/1 files=1 size=33.54MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: i_manufact_id <= CAST(772 AS INT), i_manufact_id >= CAST(732 AS INT) stored statistics: table: rows=360.00K size=33.54MB @@ -295,6 +297,7 @@ max-parallelism=4 segment-costs=[338116, 99346] cpu-comparison-result=4 [max(4 ( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category = 'Women' AND ((i_color IN ('beige', 'spring') AND i_units IN ('Tsp', 'Ton') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('white', 'pale') AND i_units IN ('Box', 'Dram') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('midnight', 'frosted') AND i_units IN ('Bunch', 'Carton') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('azure', 'goldenrod') AND i_units IN ('Pallet', 'Gross') AND i_size IN ('petite', 'extra large'))) OR (i_category = 'Women' AND ((i_color IN ('brown', 'hot') AND i_units IN ('Tbl', 'Cup') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('powder', 'honeydew') AND i_units IN ('Bundle', 'Unknown') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('antique', 'purple') AND i_units IN ('N/A', 'Dozen') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('lavender', 'tomato') AND i_units IN ('Lb', 'Oz') AND i_size IN ('petite', 'extra large')))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -319,6 +322,7 @@ max-parallelism=4 segment-costs=[338116, 99346] cpu-comparison-result=4 [max(4 ( 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item i1, RANDOM] HDFS partitions=1/1 files=1 size=33.54MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: i_manufact_id <= CAST(772 AS INT), i_manufact_id >= CAST(732 AS INT) stored statistics: table: rows=360.00K size=33.54MB @@ -450,6 +454,7 @@ max-parallelism=4 segment-costs=[338116, 99346] cpu-comparison-result=4 [max(4 ( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category = 'Women' AND ((i_color IN ('beige', 'spring') AND i_units IN ('Tsp', 'Ton') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('white', 'pale') AND i_units IN ('Box', 'Dram') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('midnight', 'frosted') AND i_units IN ('Bunch', 'Carton') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('azure', 'goldenrod') AND i_units IN ('Pallet', 'Gross') AND i_size IN ('petite', 'extra large'))) OR (i_category = 'Women' AND ((i_color IN ('brown', 'hot') AND i_units IN ('Tbl', 'Cup') AND i_size IN ('petite', 'extra large')) OR (i_color IN ('powder', 'honeydew') AND i_units IN ('Bundle', 'Unknown') AND i_size IN ('large', 'economy'))) OR (i_category = 'Men' AND i_color IN ('antique', 'purple') AND i_units IN ('N/A', 'Dozen') AND i_size IN ('small', 'N/A')) OR (i_category = 'Men' AND i_color IN ('lavender', 'tomato') AND i_units IN ('Lb', 'Oz') AND i_size IN ('petite', 'extra large')))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -474,6 +479,7 @@ max-parallelism=4 segment-costs=[338116, 99346] cpu-comparison-result=4 [max(4 ( 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item i1, RANDOM] HDFS partitions=1/1 files=1 size=33.54MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: i_manufact_id <= CAST(772 AS INT), i_manufact_id >= CAST(732 AS INT) stored statistics: table: rows=360.00K size=33.54MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q42.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q42.test index ad54de3c3..ba95a2742 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q42.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q42.test @@ -91,6 +91,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2002 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -137,6 +138,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -163,6 +165,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -285,6 +288,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2002 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -348,6 +352,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -374,6 +379,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -496,6 +502,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2002 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -559,6 +566,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -585,6 +593,7 @@ max-parallelism=20 segment-costs=[114874554, 38566] cpu-comparison-result=25 [ma 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q43.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q43.test index 188b24912..e7abae704 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q43.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q43.test @@ -76,6 +76,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -110,6 +111,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -124,6 +126,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -234,6 +237,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -285,6 +289,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -299,6 +304,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -409,6 +415,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-6 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -460,6 +467,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -474,6 +482,7 @@ max-parallelism=330 segment-costs=[3287119871, 1710341] cpu-comparison-result=12 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q44.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q44.test index af3c4d430..c70974105 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q44.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q44.test @@ -122,6 +122,7 @@ PLAN-ROOT SINK | | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -168,6 +169,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ss_store_sk = CAST(457 AS INT) | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -245,6 +247,7 @@ PLAN-ROOT SINK | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -291,6 +294,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ss_store_sk = CAST(457 AS INT) | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -550,6 +554,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | | | stored statistics: | | | | table: rows=8.64G size=389.90GB @@ -611,6 +616,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ss_store_sk = CAST(457 AS INT) | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -758,6 +764,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -819,6 +826,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_store_sk = CAST(457 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB @@ -1067,6 +1075,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | | | stored statistics: | | | | table: rows=8.64G size=389.90GB @@ -1128,6 +1137,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ss_store_sk = CAST(457 AS INT) | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -1283,6 +1293,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ss_addr_sk IS NULL, ss_store_sk = CAST(457 AS INT) | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -1344,6 +1355,7 @@ max-parallelism=4 segment-costs=[231557, 23] cpu-comparison-result=480 [max(4 (s | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales ss1, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ss_store_sk = CAST(457 AS INT) | stored statistics: | table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q45.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q45.test index c0ebcc71f..8b7d32d94 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q45.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q45.test @@ -95,6 +95,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_item_sk IN (CAST(2 AS INT), CAST(3 AS INT), CAST(5 AS INT), CAST(7 AS INT), CAST(11 AS INT), CAST(13 AS INT), CAST(17 AS INT), CAST(19 AS INT), CAST(23 AS INT), CAST(29 AS INT)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -117,6 +118,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=15.00M size=307.36MB | columns: all @@ -136,6 +138,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -155,6 +158,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> c_current_addr_sk, RF000[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -187,6 +191,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -201,6 +206,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ws_item_sk, RF005[min_max] -> ws_bill_customer_sk, RF002[bloom] -> ws_item_sk, RF004[bloom] -> ws_bill_customer_sk, RF006[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -331,6 +337,7 @@ max-parallelism=170 segment-costs=[1652502478, 826268909] cpu-comparison-result= | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_item_sk IN (CAST(2 AS INT), CAST(3 AS INT), CAST(5 AS INT), CAST(7 AS INT), CAST(11 AS INT), CAST(13 AS INT), CAST(17 AS INT), CAST(19 AS INT), CAST(23 AS INT), CAST(29 AS INT)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -489,6 +496,7 @@ max-parallelism=170 segment-costs=[1652502478, 826268909] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -631,6 +639,7 @@ max-parallelism=150 segment-costs=[1431666587, 826268909] cpu-comparison-result= | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_item_sk IN (CAST(2 AS INT), CAST(3 AS INT), CAST(5 AS INT), CAST(7 AS INT), CAST(11 AS INT), CAST(13 AS INT), CAST(17 AS INT), CAST(19 AS INT), CAST(23 AS INT), CAST(29 AS INT)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -806,6 +815,7 @@ max-parallelism=80 segment-costs=[771284062] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_qoy = CAST(2 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q46.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q46.test index 175d98503..6abf9cfd2 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q46.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q46.test @@ -136,6 +136,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow IN (CAST(6 AS INT), CAST(0 AS INT)), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -170,6 +171,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(2 AS INT) OR household_demographics.hd_vehicle_count = CAST(2 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -202,6 +204,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Antioch', 'Mount Vernon', 'Jamestown', 'Wilson', 'Farmington') | stored statistics: | table: rows=1.35K size=119.76KB @@ -429,6 +432,7 @@ max-parallelism=250 segment-costs=[2435507496, 381867406] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow IN (CAST(6 AS INT), CAST(0 AS INT)), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -480,6 +484,7 @@ max-parallelism=250 segment-costs=[2435507496, 381867406] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(2 AS INT) OR household_demographics.hd_vehicle_count = CAST(2 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -529,6 +534,7 @@ max-parallelism=250 segment-costs=[2435507496, 381867406] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Antioch', 'Mount Vernon', 'Jamestown', 'Wilson', 'Farmington') | stored statistics: | table: rows=1.35K size=119.76KB @@ -772,6 +778,7 @@ max-parallelism=260 segment-costs=[2541458132] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow IN (CAST(6 AS INT), CAST(0 AS INT)), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -823,6 +830,7 @@ max-parallelism=260 segment-costs=[2541458132] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(2 AS INT) OR household_demographics.hd_vehicle_count = CAST(2 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -872,6 +880,7 @@ max-parallelism=260 segment-costs=[2541458132] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Antioch', 'Mount Vernon', 'Jamestown', 'Wilson', 'Farmington') | stored statistics: | table: rows=1.35K size=119.76KB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q47.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q47.test index 89c0938a7..e7db134b0 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q47.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q47.test @@ -154,6 +154,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -282,6 +283,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -384,6 +386,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB @@ -602,6 +605,7 @@ max-parallelism=2147483640 segment-costs=[4574417160, 808510335, 441696341004313 | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -814,6 +818,7 @@ max-parallelism=2147483640 segment-costs=[4574417160, 808510335, 441696341004313 | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -983,6 +988,7 @@ max-parallelism=434 segment-costs=[14827402635, 14192463331] cpu-comparison-resu | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1201,6 +1207,7 @@ max-parallelism=2147483640 segment-costs=[4574417160, 808510335, 441696341004313 | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1413,6 +1420,7 @@ max-parallelism=2147483640 segment-costs=[4574417160, 808510335, 441696341004313 | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1582,6 +1590,7 @@ max-parallelism=434 segment-costs=[14827402635, 14192463331] cpu-comparison-resu | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q48.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q48.test index aa666770e..63b2cd8f6 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q48.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q48.test @@ -117,6 +117,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -160,6 +161,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -195,6 +197,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('NE', 'IA', 'NY', 'IN', 'TN', 'OH', 'KS', 'CA', 'CO'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -230,6 +233,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree', cd_education_status = 'College' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -242,6 +246,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_addr_sk, RF007[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF006[bloom] -> ss_cdemo_sk stored statistics: @@ -395,6 +400,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -447,6 +453,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('NE', 'IA', 'NY', 'IN', 'TN', 'OH', 'KS', 'CA', 'CO'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -499,6 +506,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree', cd_education_status = 'College' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -511,6 +519,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_addr_sk, RF007[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF006[bloom] -> ss_cdemo_sk stored statistics: @@ -664,6 +673,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -716,6 +726,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_state IN ('NE', 'IA', 'NY', 'IN', 'TN', 'OH', 'KS', 'CA', 'CO'), ca_country = 'United States' | stored statistics: | table: rows=15.00M size=307.36MB @@ -768,6 +779,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree', cd_education_status = 'College' OR cd_marital_status = 'W' AND cd_education_status = 'Secondary' OR cd_marital_status = 'M' AND cd_education_status = '2 yr Degree' | stored statistics: | table: rows=1.92M size=11.15MB @@ -780,6 +792,7 @@ max-parallelism=160 segment-costs=[1592308701, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit <= CAST(2000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit <= CAST(3000 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit <= CAST(25000 AS DECIMAL(5,0)), ss_net_profit >= CAST(0 AS DECIMAL(3,0)) OR ss_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ss_net_profit >= CAST(50 AS DECIMAL(3,0)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ss_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ss_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ss_sales_price >= CAST(150.00 AS DECIMAL(5,2)) runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_addr_sk, RF007[min_max] -> ss_cdemo_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF006[bloom] -> ss_cdemo_sk stored statistics: diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q49.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q49.test index 8af807025..eeaa6c0a1 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q49.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q49.test @@ -192,7 +192,7 @@ PLAN-ROOT SINK | | in pipelines: 29(GETNEXT), 28(OPEN) | | | 42:TUPLE CACHE -| | cache key: a4285c0dde66fa576638051d9c27e3d7 +| | cache key: b45461df278bd3f637869942a3deade9 | | input scan node ids: 23,24,25 | | estimated serialized size: 19.24MB | | estimated serialized size per node: 1.92MB @@ -233,6 +233,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -255,6 +256,7 @@ PLAN-ROOT SINK | |--24:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns sr] | | HDFS partitions=2004/2004 files=2004 size=48.14GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: sr.sr_return_amt > CAST(10000 AS DECIMAL(5,0)) | | stored statistics: | | table: rows=863.99M size=48.14GB @@ -270,6 +272,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales sts] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: sts.ss_net_paid > CAST(0 AS DECIMAL(3,0)), sts.ss_net_profit > CAST(1 AS DECIMAL(3,0)), sts.ss_quantity > CAST(0 AS INT) | runtime filters: RF004[bloom] -> ss_sold_date_sk | stored statistics: @@ -320,7 +323,7 @@ PLAN-ROOT SINK | | in pipelines: 18(GETNEXT), 17(OPEN) | | | 40:TUPLE CACHE -| | cache key: c0039551b63431ca84fae066177d48f2 +| | cache key: 22fada5dfae5a803f2b8cbceee24735f | | input scan node ids: 12,13,14 | | estimated serialized size: 19.24MB | | estimated serialized size per node: 1.92MB @@ -361,6 +364,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -383,6 +387,7 @@ PLAN-ROOT SINK | |--13:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns cr] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: cr.cr_return_amount > CAST(10000 AS DECIMAL(5,0)) | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -398,6 +403,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs.cs_net_paid > CAST(0 AS DECIMAL(3,0)), cs.cs_net_profit > CAST(1 AS DECIMAL(3,0)), cs.cs_quantity > CAST(0 AS INT) | runtime filters: RF002[bloom] -> cs_sold_date_sk | stored statistics: @@ -448,7 +454,7 @@ PLAN-ROOT SINK | in pipelines: 07(GETNEXT), 06(OPEN) | 38:TUPLE CACHE -| cache key: 4bedd5aca2471c718824305fff7d6232 +| cache key: 703651cd3fda6ac7cbb8051d01c6583b | input scan node ids: 1,2,3 | estimated serialized size: 19.24MB | estimated serialized size per node: 1.92MB @@ -489,6 +495,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -501,7 +508,7 @@ PLAN-ROOT SINK | in pipelines: 03(GETNEXT) | 36:TUPLE CACHE -| cache key: de89513c95e5dd4584444bf229859ba0 +| cache key: 8d9b2dfeb261f9780eb6c1a3d9c0c122 | input scan node ids: 1,2 | estimated serialized size: 683.02MB | estimated serialized size per node: 68.30MB @@ -523,6 +530,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns wr] | HDFS partitions=2114/2114 files=2114 size=16.74GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: wr.wr_return_amt > CAST(10000 AS DECIMAL(5,0)) | stored statistics: | table: rows=216.00M size=16.74GB @@ -538,6 +546,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ws.ws_net_paid > CAST(0 AS DECIMAL(3,0)), ws.ws_net_profit > CAST(1 AS DECIMAL(3,0)), ws.ws_quantity > CAST(0 AS INT) runtime filters: RF000[bloom] -> ws_sold_date_sk stored statistics: @@ -684,6 +693,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -865,6 +875,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -925,7 +936,7 @@ PLAN-ROOT SINK | Per-Instance Resources: mem-estimate=21.25MB mem-reservation=5.00MB thread-reservation=1 | max-parallelism=20 segment-costs=[183299469] | 55:TUPLE CACHE -| | cache key: 2f3126adfeabbec9943b518ea4df15cf +| | cache key: 1711ad52f42d1c732263c8546ec690cb | | input scan node ids: 12 | | estimated serialized size: 777.64MB | | estimated serialized size per node: 77.76MB @@ -939,6 +950,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs.cs_net_paid > CAST(0 AS DECIMAL(3,0)), cs.cs_net_profit > CAST(1 AS DECIMAL(3,0)), cs.cs_quantity > CAST(0 AS INT) | runtime filters: RF002[bloom] -> cs_sold_date_sk | stored statistics: @@ -1059,6 +1071,7 @@ max-parallelism=10 segment-costs=[86375599, 42777725] cpu-comparison-result=41 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1266,6 +1279,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1447,6 +1461,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1507,7 +1522,7 @@ PLAN-ROOT SINK | Per-Instance Resources: mem-estimate=21.25MB mem-reservation=5.00MB thread-reservation=1 | max-parallelism=20 segment-costs=[183299469] | 55:TUPLE CACHE -| | cache key: 2f3126adfeabbec9943b518ea4df15cf +| | cache key: 1711ad52f42d1c732263c8546ec690cb | | input scan node ids: 12 | | estimated serialized size: 777.64MB | | estimated serialized size per node: 77.76MB @@ -1521,6 +1536,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales cs, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs.cs_net_paid > CAST(0 AS DECIMAL(3,0)), cs.cs_net_profit > CAST(1 AS DECIMAL(3,0)), cs.cs_quantity > CAST(0 AS INT) | runtime filters: RF002[bloom] -> cs_sold_date_sk | stored statistics: @@ -1641,6 +1657,7 @@ max-parallelism=10 segment-costs=[86375599, 42777725] cpu-comparison-result=41 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q50.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q50.test index 826856e86..a03c7d744 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q50.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q50.test @@ -104,6 +104,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=73.05K size=2.17MB | columns: all @@ -135,6 +136,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -166,6 +168,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d2.d_year = CAST(1999 AS INT), d2.d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -188,6 +191,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[bloom] -> sr_returned_date_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -201,6 +205,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ss_store_sk, RF009[min_max] -> ss_customer_sk, RF010[min_max] -> ss_item_sk, RF011[min_max] -> ss_ticket_number, RF000[bloom] -> ss_sold_date_sk, RF002[bloom] -> ss_store_sk, RF006[bloom] -> ss_customer_sk, RF007[bloom] -> ss_item_sk, RF008[bloom] -> ss_ticket_number stored statistics: table: rows=8.64G size=389.90GB @@ -333,6 +338,7 @@ max-parallelism=770 segment-costs=[7633316166, 2270017] cpu-comparison-result=20 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -381,6 +387,7 @@ max-parallelism=770 segment-costs=[7633316166, 2270017] cpu-comparison-result=20 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d2.d_year = CAST(1999 AS INT), d2.d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -573,6 +580,7 @@ max-parallelism=770 segment-costs=[7633316166, 2270017] cpu-comparison-result=20 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -621,6 +629,7 @@ max-parallelism=770 segment-costs=[7633316166, 2270017] cpu-comparison-result=20 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d2, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d2.d_year = CAST(1999 AS INT), d2.d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q51.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q51.test index 5577a8de7..747fd6cf9 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q51.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q51.test @@ -133,6 +133,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -203,6 +204,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -384,6 +386,7 @@ max-parallelism=38311000 segment-costs=[383109971185632] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -495,6 +498,7 @@ max-parallelism=1824 segment-costs=[56515544083, 17805178445] cpu-comparison-res | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -676,6 +680,7 @@ max-parallelism=38311000 segment-costs=[383109971185632] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -787,6 +792,7 @@ max-parallelism=1824 segment-costs=[56515544083, 17805178445] cpu-comparison-res | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1187 AS INT), d_month_seq >= CAST(1176 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q52.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q52.test index d3e1d883f..1bd935ff4 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q52.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q52.test @@ -91,6 +91,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2001 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -137,6 +138,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -163,6 +165,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -273,6 +276,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2001 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -336,6 +340,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -362,6 +367,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -472,6 +478,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim dt, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: dt.d_year = CAST(2001 AS INT), dt.d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -535,6 +542,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: item.i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -561,6 +569,7 @@ max-parallelism=20 segment-costs=[136812420, 18814915] cpu-comparison-result=25 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_item_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q53.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q53.test index b4c71ecbe..ac9fde314 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q53.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q53.test @@ -104,6 +104,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -147,6 +148,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1218 AS INT), CAST(1219 AS INT), CAST(1220 AS INT), CAST(1221 AS INT), CAST(1222 AS INT), CAST(1223 AS INT), CAST(1224 AS INT), CAST(1225 AS INT), CAST(1226 AS INT), CAST(1227 AS INT), CAST(1228 AS INT), CAST(1229 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -193,6 +195,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -217,6 +220,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -405,6 +409,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1218 AS INT), CAST(1219 AS INT), CAST(1220 AS INT), CAST(1221 AS INT), CAST(1222 AS INT), CAST(1223 AS INT), CAST(1224 AS INT), CAST(1225 AS INT), CAST(1226 AS INT), CAST(1227 AS INT), CAST(1228 AS INT), CAST(1229 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -468,6 +473,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -492,6 +498,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -680,6 +687,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1218 AS INT), CAST(1219 AS INT), CAST(1220 AS INT), CAST(1221 AS INT), CAST(1222 AS INT), CAST(1223 AS INT), CAST(1224 AS INT), CAST(1225 AS INT), CAST(1226 AS INT), CAST(1227 AS INT), CAST(1228 AS INT), CAST(1229 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -743,6 +751,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -767,6 +776,7 @@ max-parallelism=40 segment-costs=[396757334, 388996] cpu-comparison-result=40 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q54.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q54.test index f7a81cd7c..8ed37ec0e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q54.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q54.test @@ -119,6 +119,7 @@ PLAN-ROOT SINK | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -164,6 +165,7 @@ PLAN-ROOT SINK | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -198,6 +200,7 @@ PLAN-ROOT SINK |--13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=73.05K size=2.17MB | columns: all @@ -229,6 +232,7 @@ PLAN-ROOT SINK |--12:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -248,6 +252,7 @@ PLAN-ROOT SINK |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[min_max] -> ca_state, RF005[min_max] -> ca_county, RF002[bloom] -> ca_state, RF003[bloom] -> ca_county | stored statistics: | table: rows=15.00M size=307.36MB @@ -338,6 +343,7 @@ PLAN-ROOT SINK | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -372,6 +378,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Music', i_class = 'country' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -392,6 +399,7 @@ PLAN-ROOT SINK | | |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -405,6 +413,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -430,6 +439,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> c_customer_sk, RF007[min_max] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk, RF010[bloom] -> c_customer_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -442,6 +452,7 @@ PLAN-ROOT SINK 10:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF009[min_max] -> ss_customer_sk, RF008[bloom] -> ss_customer_sk, RF000[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -595,6 +606,7 @@ max-parallelism=10 segment-costs=[83199070, 3660225] cpu-comparison-result=192 [ | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -680,6 +692,7 @@ max-parallelism=10 segment-costs=[83199070, 3660225] cpu-comparison-result=192 [ | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -930,6 +943,7 @@ max-parallelism=400 segment-costs=[3910422147] | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -993,6 +1007,7 @@ max-parallelism=400 segment-costs=[3910422147] | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Music', i_class = 'country' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -1013,6 +1028,7 @@ max-parallelism=400 segment-costs=[3910422147] | | |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -1026,6 +1042,7 @@ max-parallelism=400 segment-costs=[3910422147] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -1060,6 +1077,7 @@ max-parallelism=400 segment-costs=[3910422147] | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> c_customer_sk, RF007[min_max] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk, RF010[bloom] -> c_customer_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -1224,6 +1242,7 @@ max-parallelism=10 segment-costs=[83199070, 3660225] cpu-comparison-result=192 [ | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1309,6 +1328,7 @@ max-parallelism=10 segment-costs=[83199070, 3660225] cpu-comparison-result=192 [ | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1559,6 +1579,7 @@ max-parallelism=400 segment-costs=[3910422147] | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(7 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1622,6 +1643,7 @@ max-parallelism=400 segment-costs=[3910422147] | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Music', i_class = 'country' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -1642,6 +1664,7 @@ max-parallelism=400 segment-costs=[3910422147] | | |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_date_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -1655,6 +1678,7 @@ max-parallelism=400 segment-costs=[3910422147] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF014[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_date_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -1689,6 +1713,7 @@ max-parallelism=400 segment-costs=[3910422147] | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> c_customer_sk, RF007[min_max] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk, RF010[bloom] -> c_customer_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.customer.c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q55.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q55.test index e5193c5bb..9d635958a 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q55.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q55.test @@ -83,6 +83,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -129,6 +130,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(87 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -155,6 +157,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ss_item_sk, RF000[bloom] -> ss_sold_date_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -277,6 +280,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -340,6 +344,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(87 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -366,6 +371,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ss_item_sk, RF000[bloom] -> ss_sold_date_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -488,6 +494,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -551,6 +558,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(87 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -577,6 +585,7 @@ max-parallelism=20 segment-costs=[136812420, 17563907] cpu-comparison-result=25 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ss_item_sk, RF000[bloom] -> ss_sold_date_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q56.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q56.test index 7c15c4866..2b6122b47 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q56.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q56.test @@ -161,6 +161,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -183,6 +184,7 @@ PLAN-ROOT SINK | |--24:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> i_item_id, RF016[bloom] -> i_item_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -215,6 +217,7 @@ PLAN-ROOT SINK | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -249,6 +252,7 @@ PLAN-ROOT SINK | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -263,6 +267,7 @@ PLAN-ROOT SINK | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -326,6 +331,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -348,6 +354,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF009[min_max] -> i_item_id, RF008[bloom] -> i_item_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -380,6 +387,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -414,6 +422,7 @@ PLAN-ROOT SINK | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -428,6 +437,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -491,6 +501,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_color IN ('tan', 'lace', 'gainsboro') | stored statistics: | table: rows=360.00K size=33.54MB @@ -513,6 +524,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> i_item_id, RF000[bloom] -> i_item_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -545,6 +557,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -579,6 +592,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -593,6 +607,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -741,6 +756,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -829,6 +845,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -880,6 +897,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -894,6 +912,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -990,6 +1009,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1078,6 +1098,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1129,6 +1150,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1143,6 +1165,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1227,6 +1250,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_color IN ('tan', 'lace', 'gainsboro') | stored statistics: | table: rows=360.00K size=33.54MB @@ -1315,6 +1339,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -1366,6 +1391,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1380,6 +1406,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -1528,6 +1555,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1616,6 +1644,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1667,6 +1696,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1681,6 +1711,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -1777,6 +1808,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('tan', 'lace', 'gainsboro') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1865,6 +1897,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1916,6 +1949,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1930,6 +1964,7 @@ max-parallelism=60 segment-costs=[3226673, 1927893, 1229054, 1688651, 1841706] c | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -2014,6 +2049,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_color IN ('tan', 'lace', 'gainsboro') | stored statistics: | table: rows=360.00K size=33.54MB @@ -2102,6 +2138,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -2153,6 +2190,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1998 AS INT), d_moy = CAST(3 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -2167,6 +2205,7 @@ max-parallelism=60 segment-costs=[557234371, 15157204] cpu-comparison-result=60 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q57.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q57.test index a5f7070ee..85012254e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q57.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q57.test @@ -151,6 +151,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -279,6 +280,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -381,6 +383,7 @@ PLAN-ROOT SINK | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB @@ -599,6 +602,7 @@ max-parallelism=2147483640 segment-costs=[5732825156303337910, 408] cpu-comparis | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -819,6 +823,7 @@ max-parallelism=543050 segment-costs=[3641602439, 1710158229, 5430492465901] cpu | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -988,6 +993,7 @@ max-parallelism=435 segment-costs=[7568871876, 6765092689] cpu-comparison-result | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1206,6 +1212,7 @@ max-parallelism=2147483640 segment-costs=[5732825156303337910, 408] cpu-comparis | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1426,6 +1433,7 @@ max-parallelism=543050 segment-costs=[3641602439, 1710158229, 5430492465901] cpu | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1595,6 +1603,7 @@ max-parallelism=435 segment-costs=[7568871876, 6765092689] cpu-comparison-result | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (d_year = CAST(2001 AS INT) OR (d_year = CAST(2000 AS INT) AND d_moy = CAST(12 AS INT)) OR (d_year = CAST(2002 AS INT) AND d_moy = CAST(1 AS INT))) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q59.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q59.test index 3fd91a952..30e459bf9 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q59.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q59.test @@ -108,6 +108,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1222 AS INT), d_month_seq >= CAST(1211 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -177,7 +178,7 @@ PLAN-ROOT SINK | in pipelines: 04(GETNEXT) | 19:TUPLE CACHE -| cache key: 83e869094a18f192eab72ff64c126024 +| cache key: 53caf3c28d2fe5e3f75ad69ce4563ce6 | input scan node ids: 0,1,5 | estimated serialized size: 618.69MB | estimated serialized size per node: 61.87MB @@ -197,7 +198,7 @@ PLAN-ROOT SINK | in pipelines: 03(GETNEXT), 05(OPEN) | |--18:TUPLE CACHE -| | cache key: 50da4941871b4a379e5f6d8a59811a21 +| | cache key: 3b2a0c4099e60780cf2f4fd84af2e5be | | input scan node ids: 5 | | estimated serialized size: 85.61KB | | estimated serialized size per node: 85.61KB @@ -211,6 +212,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1210 AS INT), d_month_seq >= CAST(1199 AS INT) | runtime filters: RF002[min_max] -> d.d_week_seq, RF000[bloom] -> d.d_week_seq | stored statistics: @@ -241,6 +243,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF002[min_max] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF006[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq, RF000[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_week_seq | stored statistics: | table: rows=73.05K size=2.17MB @@ -253,6 +256,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_store_sk, RF008[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -388,6 +392,7 @@ max-parallelism=66780 segment-costs=[667707901963, 743] cpu-comparison-result=28 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1222 AS INT), d_month_seq >= CAST(1211 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -753,6 +758,7 @@ max-parallelism=66780 segment-costs=[667707901963, 743] cpu-comparison-result=28 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1222 AS INT), d_month_seq >= CAST(1211 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q60.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q60.test index 71a7e735e..dcbb4aa3b 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q60.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q60.test @@ -170,6 +170,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -192,6 +193,7 @@ PLAN-ROOT SINK | |--24:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> i_item_id, RF016[bloom] -> i_item_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -212,6 +214,7 @@ PLAN-ROOT SINK | |--23:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -246,6 +249,7 @@ PLAN-ROOT SINK | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -260,6 +264,7 @@ PLAN-ROOT SINK | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -323,6 +328,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -345,6 +351,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF009[min_max] -> i_item_id, RF008[bloom] -> i_item_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -365,6 +372,7 @@ PLAN-ROOT SINK | |--13:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -399,6 +407,7 @@ PLAN-ROOT SINK | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -413,6 +422,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -464,6 +474,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men') | stored statistics: | table: rows=360.00K size=33.54MB @@ -486,6 +497,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> i_item_id, RF000[bloom] -> i_item_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -506,6 +518,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-5 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -540,6 +553,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -554,6 +568,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -690,6 +705,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -816,6 +832,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -830,6 +847,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -914,6 +932,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1040,6 +1059,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1054,6 +1074,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1138,6 +1159,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men') | stored statistics: | table: rows=360.00K size=33.54MB @@ -1264,6 +1286,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1278,6 +1301,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -1414,6 +1438,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1540,6 +1565,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1554,6 +1580,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | 21:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_bill_addr_sk, RF019[min_max] -> ws_item_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_bill_addr_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -1638,6 +1665,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category IN ('Men') | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1764,6 +1792,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1778,6 +1807,7 @@ max-parallelism=60 segment-costs=[7255797, 4441169, 2641277, 1688651, 1841706] c | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_bill_addr_sk, RF011[min_max] -> cs_item_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_bill_addr_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1862,6 +1892,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Men') | stored statistics: | table: rows=360.00K size=33.54MB @@ -1988,6 +2019,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2000 AS INT), d_moy = CAST(9 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -2002,6 +2034,7 @@ max-parallelism=60 segment-costs=[579522275, 37422438] cpu-comparison-result=60 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_addr_sk, RF003[min_max] -> ss_item_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_addr_sk, RF002[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q61.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q61.test index 604d21b7a..f906e27fa 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q61.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q61.test @@ -129,6 +129,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -151,6 +152,7 @@ PLAN-ROOT SINK | |--17:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF013[min_max] -> c_current_addr_sk, RF012[bloom] -> c_current_addr_sk | | stored statistics: | | table: rows=30.00M size=1.55GB @@ -183,6 +185,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -217,6 +220,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category = 'Electronics' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -251,6 +255,7 @@ PLAN-ROOT SINK | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -265,6 +270,7 @@ PLAN-ROOT SINK | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF019[min_max] -> ss_item_sk, RF017[min_max] -> ss_store_sk, RF015[min_max] -> ss_customer_sk, RF020[bloom] -> ss_sold_date_sk, RF018[bloom] -> ss_item_sk, RF016[bloom] -> ss_store_sk, RF014[bloom] -> ss_customer_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -304,6 +310,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | HDFS partitions=1/1 files=1 size=100.50KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (p_channel_dmail = 'Y' OR p_channel_email = 'Y' OR p_channel_tv = 'Y') | stored statistics: | table: rows=1.80K size=100.50KB @@ -348,6 +355,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -370,6 +378,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -402,6 +411,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -436,6 +446,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category = 'Electronics' | stored statistics: | table: rows=360.00K size=33.54MB @@ -470,6 +481,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -484,6 +496,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF009[min_max] -> ss_item_sk, RF007[min_max] -> ss_store_sk, RF005[min_max] -> ss_customer_sk, RF001[min_max] -> ss_promo_sk, RF010[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_sk, RF006[bloom] -> ss_store_sk, RF004[bloom] -> ss_customer_sk stored statistics: table: rows=8.64G size=389.90GB @@ -590,6 +603,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -687,6 +701,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -738,6 +753,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category = 'Electronics' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -789,6 +805,7 @@ PLAN-ROOT SINK | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -908,6 +925,7 @@ max-parallelism=10 segment-costs=[33284846, 185] cpu-comparison-result=90 [max(9 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -1005,6 +1023,7 @@ max-parallelism=80 segment-costs=[720604305] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -1056,6 +1075,7 @@ max-parallelism=80 segment-costs=[720604305] | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category = 'Electronics' | stored statistics: | table: rows=360.00K size=33.54MB @@ -1107,6 +1127,7 @@ max-parallelism=80 segment-costs=[720604305] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1226,6 +1247,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1323,6 +1345,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -1374,6 +1397,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category = 'Electronics' | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1425,6 +1449,7 @@ PLAN-ROOT SINK | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1544,6 +1569,7 @@ max-parallelism=10 segment-costs=[33284846, 185] cpu-comparison-result=90 [max(9 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=15.00M size=307.36MB @@ -1641,6 +1667,7 @@ max-parallelism=80 segment-costs=[720604305] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: s_gmt_offset = CAST(-7 AS DECIMAL(3,0)) | stored statistics: | table: rows=1.35K size=119.76KB @@ -1692,6 +1719,7 @@ max-parallelism=80 segment-costs=[720604305] | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category = 'Electronics' | stored statistics: | table: rows=360.00K size=33.54MB @@ -1743,6 +1771,7 @@ max-parallelism=80 segment-costs=[720604305] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT), d_moy = CAST(11 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q62.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q62.test index 6f8274f3c..7048b51b7 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q62.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q62.test @@ -92,6 +92,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1205 AS INT), d_month_seq >= CAST(1194 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -114,6 +115,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode] | HDFS partitions=1/1 files=1 size=2.68KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=20 size=2.68KB | columns: all @@ -145,6 +147,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -164,6 +167,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site] | HDFS partitions=1/1 files=1 size=17.88KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=66 size=17.88KB | columns: all @@ -175,6 +179,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ws_ship_date_sk, RF003[min_max] -> ws_ship_mode_sk, RF005[min_max] -> ws_warehouse_sk, RF007[min_max] -> ws_web_site_sk, RF000[bloom] -> ws_ship_date_sk, RF002[bloom] -> ws_ship_mode_sk, RF004[bloom] -> ws_warehouse_sk, RF006[bloom] -> ws_web_site_sk stored statistics: table: rows=2.16G size=145.75GB @@ -285,6 +290,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1205 AS INT), d_month_seq >= CAST(1194 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -371,6 +377,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -417,6 +424,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ws_ship_date_sk, RF003[min_max] -> ws_ship_mode_sk, RF005[min_max] -> ws_warehouse_sk, RF007[min_max] -> ws_web_site_sk, RF000[bloom] -> ws_ship_date_sk, RF002[bloom] -> ws_ship_mode_sk, RF004[bloom] -> ws_warehouse_sk, RF006[bloom] -> ws_web_site_sk stored statistics: table: rows=2.16G size=145.75GB @@ -527,6 +535,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1205 AS INT), d_month_seq >= CAST(1194 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -613,6 +622,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -659,6 +669,7 @@ max-parallelism=790 segment-costs=[7867530603, 1045327] cpu-comparison-result=12 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ws_ship_date_sk, RF003[min_max] -> ws_ship_mode_sk, RF005[min_max] -> ws_warehouse_sk, RF007[min_max] -> ws_web_site_sk, RF000[bloom] -> ws_ship_date_sk, RF002[bloom] -> ws_ship_mode_sk, RF004[bloom] -> ws_warehouse_sk, RF006[bloom] -> ws_web_site_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q63.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q63.test index af0fd901e..edce192d0 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q63.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q63.test @@ -105,6 +105,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -148,6 +149,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1205 AS INT), CAST(1206 AS INT), CAST(1207 AS INT), CAST(1208 AS INT), CAST(1209 AS INT), CAST(1210 AS INT), CAST(1211 AS INT), CAST(1212 AS INT), CAST(1213 AS INT), CAST(1214 AS INT), CAST(1215 AS INT), CAST(1216 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -194,6 +196,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -218,6 +221,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -414,6 +418,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1205 AS INT), CAST(1206 AS INT), CAST(1207 AS INT), CAST(1208 AS INT), CAST(1209 AS INT), CAST(1210 AS INT), CAST(1211 AS INT), CAST(1212 AS INT), CAST(1213 AS INT), CAST(1214 AS INT), CAST(1215 AS INT), CAST(1216 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -477,6 +482,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -501,6 +507,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -697,6 +704,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq IN (CAST(1205 AS INT), CAST(1206 AS INT), CAST(1207 AS INT), CAST(1208 AS INT), CAST(1209 AS INT), CAST(1210 AS INT), CAST(1211 AS INT), CAST(1212 AS INT), CAST(1213 AS INT), CAST(1214 AS INT), CAST(1215 AS INT), CAST(1216 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -760,6 +768,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Books', 'Children', 'Electronics') AND i_class IN ('personal', 'portable', 'reference', 'self-help') AND i_brand IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) OR (i_category IN ('Women', 'Music', 'Men') AND i_class IN ('accessories', 'classical', 'fragrances', 'pants') AND i_brand IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -784,6 +793,7 @@ max-parallelism=40 segment-costs=[396430739, 240371] cpu-comparison-result=40 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q64.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q64.test index 27660dc5e..80d2f6c5f 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q64.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q64.test @@ -191,6 +191,7 @@ PLAN-ROOT SINK | | |--42:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=432.02M size=32.77GB | | | partitions: 2060/2060 rows=432.02M @@ -203,6 +204,7 @@ PLAN-ROOT SINK | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF084[min_max] -> cs_item_sk, RF085[min_max] -> cs_order_number | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -482,6 +484,7 @@ PLAN-ROOT SINK | | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -516,6 +519,7 @@ PLAN-ROOT SINK | | | 59:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_color IN ('peach', 'misty', 'drab', 'chocolate', 'almond', 'saddle'), i_current_price <= CAST(85 AS DECIMAL(5,0)), i_current_price <= CAST(90 AS DECIMAL(5,0)), i_current_price >= CAST(75 AS DECIMAL(3,0)), i_current_price >= CAST(76 AS DECIMAL(5,0)) | | | runtime filters: RF047[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk | | | stored statistics: @@ -598,6 +602,7 @@ PLAN-ROOT SINK | |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_item_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -611,6 +616,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF044[min_max] -> cs_item_sk, RF045[min_max] -> cs_order_number, RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF042[bloom] -> cs_item_sk, RF043[bloom] -> cs_order_number | stored statistics: | table: rows=4.32G size=280.96GB @@ -891,6 +897,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -925,6 +932,7 @@ PLAN-ROOT SINK | | 20:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_color IN ('peach', 'misty', 'drab', 'chocolate', 'almond', 'saddle'), i_current_price <= CAST(85 AS DECIMAL(5,0)), i_current_price <= CAST(90 AS DECIMAL(5,0)), i_current_price >= CAST(75 AS DECIMAL(3,0)), i_current_price >= CAST(76 AS DECIMAL(5,0)) | | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF007[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk | | stored statistics: @@ -964,6 +972,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF036[min_max] -> sr_item_sk, RF037[min_max] -> sr_ticket_number, RF003[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF007[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF034[bloom] -> sr_item_sk, RF035[bloom] -> sr_ticket_number stored statistics: table: rows=863.99M size=48.14GB @@ -1699,6 +1708,7 @@ max-parallelism=1460 segment-costs=[14553075383, 7852642112] cpu-comparison-resu | | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2468,6 +2478,7 @@ max-parallelism=30 segment-costs=[299440393] | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -3276,6 +3287,7 @@ max-parallelism=1460 segment-costs=[14553075383, 7852642112] cpu-comparison-resu | | | 45:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d1.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -4045,6 +4057,7 @@ max-parallelism=30 segment-costs=[299440393] | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d1.d_year = CAST(2000 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q65.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q65.test index 2827b3829..0fca6e8d0 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q65.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q65.test @@ -102,6 +102,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -116,6 +117,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -168,6 +170,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -206,6 +209,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -365,6 +369,7 @@ max-parallelism=16270 segment-costs=[12940680071, 162621929305, 504] cpu-compari | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -465,6 +470,7 @@ max-parallelism=16270 segment-costs=[12940680071, 162621929305, 504] cpu-compari | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -536,6 +542,7 @@ max-parallelism=1824 segment-costs=[51348787703, 15337936685] cpu-comparison-res | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -695,6 +702,7 @@ max-parallelism=16270 segment-costs=[12940680071, 162621929305, 504] cpu-compari | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -795,6 +803,7 @@ max-parallelism=16270 segment-costs=[12940680071, 162621929305, 504] cpu-compari | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -866,6 +875,7 @@ max-parallelism=1824 segment-costs=[51348787703, 15337936685] cpu-comparison-res | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1219 AS INT), d_month_seq >= CAST(1208 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q66.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q66.test index d8ee1c646..d1c037e6c 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q66.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q66.test @@ -301,6 +301,7 @@ PLAN-ROOT SINK | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -344,6 +345,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -378,6 +380,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode] | | HDFS partitions=1/1 files=1 size=2.68KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | | stored statistics: | | table: rows=20 size=2.68KB @@ -412,6 +415,7 @@ PLAN-ROOT SINK | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -426,6 +430,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> cs_sold_time_sk, RF013[min_max] -> cs_ship_mode_sk, RF009[min_max] -> cs_warehouse_sk, RF014[bloom] -> cs_sold_time_sk, RF012[bloom] -> cs_ship_mode_sk, RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_warehouse_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -478,6 +483,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -509,6 +515,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -543,6 +550,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode] | HDFS partitions=1/1 files=1 size=2.68KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | stored statistics: | table: rows=20 size=2.68KB @@ -577,6 +585,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -591,6 +600,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF007[min_max] -> ws_sold_time_sk, RF005[min_max] -> ws_ship_mode_sk, RF001[min_max] -> ws_warehouse_sk, RF006[bloom] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_mode_sk, RF002[bloom] -> ws_sold_date_sk, RF000[bloom] -> ws_warehouse_sk stored statistics: table: rows=2.16G size=145.75GB @@ -728,6 +738,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -788,6 +799,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -839,6 +851,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode, RANDOM] | | HDFS partitions=1/1 files=1 size=2.68KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | | stored statistics: | | table: rows=20 size=2.68KB @@ -890,6 +903,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -904,6 +918,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> cs_sold_time_sk, RF013[min_max] -> cs_ship_mode_sk, RF009[min_max] -> cs_warehouse_sk, RF014[bloom] -> cs_sold_time_sk, RF012[bloom] -> cs_ship_mode_sk, RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_warehouse_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -989,6 +1004,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -1037,6 +1053,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1088,6 +1105,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode, RANDOM] | HDFS partitions=1/1 files=1 size=2.68KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | stored statistics: | table: rows=20 size=2.68KB @@ -1139,6 +1157,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -1153,6 +1172,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF007[min_max] -> ws_sold_time_sk, RF005[min_max] -> ws_ship_mode_sk, RF001[min_max] -> ws_warehouse_sk, RF006[bloom] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_mode_sk, RF002[bloom] -> ws_sold_date_sk, RF000[bloom] -> ws_warehouse_sk stored statistics: table: rows=2.16G size=145.75GB @@ -1290,6 +1310,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | | HDFS partitions=1/1 files=1 size=5.99KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=22 size=5.99KB | | columns: all @@ -1350,6 +1371,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1401,6 +1423,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode, RANDOM] | | HDFS partitions=1/1 files=1 size=2.68KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | | stored statistics: | | table: rows=20 size=2.68KB @@ -1452,6 +1475,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1466,6 +1490,7 @@ max-parallelism=60 segment-costs=[14430, 14430, 440, 2038] cpu-comparison-result | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> cs_sold_time_sk, RF013[min_max] -> cs_ship_mode_sk, RF009[min_max] -> cs_warehouse_sk, RF014[bloom] -> cs_sold_time_sk, RF012[bloom] -> cs_ship_mode_sk, RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_warehouse_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1551,6 +1576,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -1599,6 +1625,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2002 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1650,6 +1677,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode, RANDOM] | HDFS partitions=1/1 files=1 size=2.68KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: sm_carrier IN ('HARMSTORF', 'USPS') | stored statistics: | table: rows=20 size=2.68KB @@ -1701,6 +1729,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_time <= CAST(53085 AS INT), t_time >= CAST(24285 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -1715,6 +1744,7 @@ max-parallelism=30 segment-costs=[265017298, 87597] cpu-comparison-result=44 [ma 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF007[min_max] -> ws_sold_time_sk, RF005[min_max] -> ws_ship_mode_sk, RF001[min_max] -> ws_warehouse_sk, RF006[bloom] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_mode_sk, RF002[bloom] -> ws_sold_date_sk, RF000[bloom] -> ws_warehouse_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q67.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q67.test index ccaa2bdce..7ee840c9a 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q67.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q67.test @@ -162,6 +162,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1207 AS INT), d_month_seq >= CAST(1196 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -196,6 +197,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -434,6 +436,7 @@ max-parallelism=1824 segment-costs=[257850166519, 2328086935759] cpu-comparison- | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1207 AS INT), d_month_seq >= CAST(1196 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -485,6 +488,7 @@ max-parallelism=1824 segment-costs=[257850166519, 2328086935759] cpu-comparison- | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -723,6 +727,7 @@ max-parallelism=1824 segment-costs=[257850166519, 2328086935759] cpu-comparison- | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1207 AS INT), d_month_seq >= CAST(1196 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -774,6 +779,7 @@ max-parallelism=1824 segment-costs=[257850166519, 2328086935759] cpu-comparison- | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q68.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q68.test index fb0d748ab..fd703fcbf 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q68.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q68.test @@ -143,6 +143,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(1 AS INT) OR household_demographics.hd_vehicle_count = CAST(-1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -175,6 +176,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -209,6 +211,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Bethel', 'Summit') | stored statistics: | table: rows=1.35K size=119.76KB @@ -452,6 +455,7 @@ max-parallelism=130 segment-costs=[1264807850] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(1 AS INT) OR household_demographics.hd_vehicle_count = CAST(-1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -501,6 +505,7 @@ max-parallelism=130 segment-costs=[1264807850] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -552,6 +557,7 @@ max-parallelism=130 segment-costs=[1264807850] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Bethel', 'Summit') | stored statistics: | table: rows=1.35K size=119.76KB @@ -795,6 +801,7 @@ max-parallelism=130 segment-costs=[1264807850] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(1 AS INT) OR household_demographics.hd_vehicle_count = CAST(-1 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -844,6 +851,7 @@ max-parallelism=130 segment-costs=[1264807850] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1998 AS INT), CAST(1999 AS INT), CAST(2000 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -895,6 +903,7 @@ max-parallelism=130 segment-costs=[1264807850] | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_city IN ('Bethel', 'Summit') | stored statistics: | table: rows=1.35K size=119.76KB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q69.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q69.test index 69dd7dc2e..6f1e32100 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q69.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q69.test @@ -128,6 +128,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -142,6 +143,7 @@ PLAN-ROOT SINK | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF010[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -199,6 +201,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -213,6 +216,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> ws_sold_date_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -283,6 +287,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -297,6 +302,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF006[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -338,6 +344,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state IN ('OK', 'GA', 'VA') | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -364,6 +371,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer c] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> c.c_customer_sk, RF005[min_max] -> c.c_current_addr_sk, RF000[bloom] -> c.c_customer_sk, RF004[bloom] -> c.c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -376,6 +384,7 @@ PLAN-ROOT SINK 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] HDFS partitions=1/1 files=1 size=11.15MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> cd_demo_sk, RF002[bloom] -> cd_demo_sk stored statistics: table: rows=1.92M size=11.15MB @@ -516,6 +525,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -623,6 +633,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -723,6 +734,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -820,6 +832,7 @@ max-parallelism=10 segment-costs=[17947065] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state IN ('OK', 'GA', 'VA') | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -993,6 +1006,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1100,6 +1114,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1200,6 +1215,7 @@ max-parallelism=10 segment-costs=[6824595, 312211] cpu-comparison-result=289 [ma | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1297,6 +1313,7 @@ max-parallelism=10 segment-costs=[17947065] | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address ca, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state IN ('OK', 'GA', 'VA') | | stored statistics: | | table: rows=15.00M size=307.36MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q70.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q70.test index 78706295c..eb2951039 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q70.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q70.test @@ -121,7 +121,7 @@ PLAN-ROOT SINK | | in pipelines: 09(GETNEXT), 08(OPEN) | | | 22:TUPLE CACHE -| | cache key: f547245c2d669d0a04e1ab8a32fbf80a +| | cache key: ed8a8b82ea3b0a12125641a34febb276 | | input scan node ids: 3,4,5 | | estimated serialized size: 986B | | estimated serialized size per node: 98B @@ -162,6 +162,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1208 AS INT), d_month_seq >= CAST(1197 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -184,6 +185,7 @@ PLAN-ROOT SINK | |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=1.35K size=119.76KB | | columns: all @@ -195,6 +197,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> ss_store_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_store_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -247,6 +250,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1208 AS INT), d1.d_month_seq >= CAST(1197 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -427,7 +431,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | Per-Instance Resources: mem-estimate=31.33MB mem-reservation=14.00MB thread-reservation=1 | max-parallelism=1160 segment-costs=[11583570184, 8516] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] | 33:TUPLE CACHE -| | cache key: 2d70455a5128593a58544db244331312 +| | cache key: a217aecb86fa67215294ff29bcf6119e | | input scan node ids: 3 | | estimated serialized size: 115.55KB | | estimated serialized size per node: 11.55KB @@ -485,6 +489,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1208 AS INT), d_month_seq >= CAST(1197 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -534,6 +539,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> ss_store_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_store_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -621,6 +627,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1208 AS INT), d1.d_month_seq >= CAST(1197 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -801,7 +808,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | Per-Instance Resources: mem-estimate=31.33MB mem-reservation=14.00MB thread-reservation=1 | max-parallelism=1160 segment-costs=[11583570184, 8516] cpu-comparison-result=120 [max(120 (self) vs 22 (sum children))] | 33:TUPLE CACHE -| | cache key: 2d70455a5128593a58544db244331312 +| | cache key: a217aecb86fa67215294ff29bcf6119e | | input scan node ids: 3 | | estimated serialized size: 115.55KB | | estimated serialized size per node: 11.55KB @@ -859,6 +866,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1208 AS INT), d_month_seq >= CAST(1197 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -908,6 +916,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> ss_store_sk, RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_store_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -995,6 +1004,7 @@ max-parallelism=1824 segment-costs=[48455225769, 1707075] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1208 AS INT), d1.d_month_seq >= CAST(1197 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q71.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q71.test index 27028646a..255e90318 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q71.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q71.test @@ -109,6 +109,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_meal_time IN ('breakfast', 'dinner') | stored statistics: | table: rows=86.40K size=1.31MB @@ -155,6 +156,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -194,6 +196,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -208,6 +211,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -241,6 +245,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -255,6 +260,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -288,6 +294,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -302,6 +309,7 @@ PLAN-ROOT SINK 02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -423,6 +431,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_meal_time IN ('breakfast', 'dinner') | stored statistics: | table: rows=86.40K size=1.31MB @@ -486,6 +495,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -542,6 +552,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -556,6 +567,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -606,6 +618,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -620,6 +633,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -670,6 +684,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -684,6 +699,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ 02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -805,6 +821,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: t_meal_time IN ('breakfast', 'dinner') | stored statistics: | table: rows=86.40K size=1.31MB @@ -868,6 +885,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_manager_id = CAST(1 AS INT) | stored statistics: | table: rows=360.00K size=33.54MB @@ -924,6 +942,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -938,6 +957,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF008[bloom] -> ss_sold_date_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -988,6 +1008,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1002,6 +1023,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.catalog_sales.cs_item_sk, RF006[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1052,6 +1074,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(1999 AS INT), d_moy = CAST(12 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1066,6 +1089,7 @@ max-parallelism=90 segment-costs=[889919871, 3225455] cpu-comparison-result=90 [ 02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF003[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_sold_time_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF004[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q72.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q72.test index bd58511d6..81618742b 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q72.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q72.test @@ -109,6 +109,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -199,6 +200,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | stored statistics: | table: rows=360.00K size=33.54MB @@ -231,6 +233,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(2002 AS INT) | runtime filters: RF007[min_max] -> d1.d_week_seq, RF006[bloom] -> d1.d_week_seq | stored statistics: @@ -266,6 +269,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' | stored statistics: | table: rows=1.92M size=11.15MB @@ -300,6 +304,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_buy_potential = '>10000' | stored statistics: | table: rows=7.20K size=41.69KB @@ -479,6 +484,7 @@ max-parallelism=609330 segment-costs=[4101117248955, 6093265120169] cpu-comparis | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -649,6 +655,7 @@ max-parallelism=374 segment-costs=[4303039497] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | stored statistics: | table: rows=360.00K size=33.54MB @@ -699,6 +706,7 @@ max-parallelism=374 segment-costs=[4303039497] | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(2002 AS INT) | runtime filters: RF007[min_max] -> d1.d_week_seq, RF006[bloom] -> d1.d_week_seq | stored statistics: @@ -751,6 +759,7 @@ max-parallelism=374 segment-costs=[4303039497] | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' | stored statistics: | table: rows=1.92M size=11.15MB @@ -802,6 +811,7 @@ max-parallelism=374 segment-costs=[4303039497] | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_buy_potential = '>10000' | stored statistics: | table: rows=7.20K size=41.69KB @@ -981,6 +991,7 @@ max-parallelism=609330 segment-costs=[4101117248955, 6093265120169] cpu-comparis | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -1151,6 +1162,7 @@ max-parallelism=374 segment-costs=[4303039497] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_sk | stored statistics: | table: rows=360.00K size=33.54MB @@ -1201,6 +1213,7 @@ max-parallelism=374 segment-costs=[4303039497] | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_year = CAST(2002 AS INT) | runtime filters: RF007[min_max] -> d1.d_week_seq, RF006[bloom] -> d1.d_week_seq | stored statistics: @@ -1253,6 +1266,7 @@ max-parallelism=374 segment-costs=[4303039497] | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cd_marital_status = 'D' | stored statistics: | table: rows=1.92M size=11.15MB @@ -1304,6 +1318,7 @@ max-parallelism=374 segment-costs=[4303039497] | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: hd_buy_potential = '>10000' | stored statistics: | table: rows=7.20K size=41.69KB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q73.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q73.test index 7cad73795..04cf39911 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q73.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q73.test @@ -106,6 +106,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -140,6 +141,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Franklin Parish', 'Ziebach County', 'Luce County', 'Williamson County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -174,6 +176,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('501-1000', 'Unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -188,6 +191,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -213,6 +217,7 @@ PLAN-ROOT SINK 08:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] HDFS partitions=1/1 files=1 size=1.55GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> c_customer_sk, RF000[bloom] -> c_customer_sk stored statistics: table: rows=30.00M size=1.55GB @@ -348,6 +353,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -399,6 +405,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Franklin Parish', 'Ziebach County', 'Luce County', 'Williamson County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -450,6 +457,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('501-1000', 'Unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -464,6 +472,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -611,6 +620,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: date_dim.d_dom <= CAST(2 AS INT), date_dim.d_dom >= CAST(1 AS INT), date_dim.d_year IN (CAST(1999 AS INT), CAST(2000 AS INT), CAST(2001 AS INT)) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -662,6 +672,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_county IN ('Franklin Parish', 'Ziebach County', 'Luce County', 'Williamson County') | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -713,6 +724,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('501-1000', 'Unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -727,6 +739,7 @@ max-parallelism=10 segment-costs=[15905570, 3999486] cpu-comparison-result=90 [m | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> store_sales.ss_store_sk, RF007[min_max] -> store_sales.ss_hdemo_sk, RF002[bloom] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q74.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q74.test index f6c8771da..bb38d48e9 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q74.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q74.test @@ -139,6 +139,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -224,6 +225,7 @@ PLAN-ROOT SINK | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -309,6 +311,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -387,6 +390,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -573,6 +577,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=720 [m | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -733,6 +738,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=720 [m | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -886,6 +892,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=720 [m | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1023,6 +1030,7 @@ max-parallelism=374 segment-costs=[11399160244, 8352631394] cpu-comparison-resul | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1209,6 +1217,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=960 [m | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1369,6 +1378,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=960 [m | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1530,6 +1540,7 @@ max-parallelism=370 segment-costs=[3698660772, 199] cpu-comparison-result=960 [m | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1675,6 +1686,7 @@ max-parallelism=374 segment-costs=[5174865025] | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q75.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q75.test index b9e35460f..281acd6bb 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q75.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q75.test @@ -155,6 +155,7 @@ PLAN-ROOT SINK | | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -189,6 +190,7 @@ PLAN-ROOT SINK | | | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -203,6 +205,7 @@ PLAN-ROOT SINK | | | 39:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF055[min_max] -> ws_item_sk, RF054[bloom] -> ws_item_sk | | | stored statistics: | | | table: rows=2.16G size=145.75GB @@ -216,6 +219,7 @@ PLAN-ROOT SINK | | 42:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF050[min_max] -> wr_item_sk, RF051[min_max] -> wr_order_number | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -256,6 +260,7 @@ PLAN-ROOT SINK | | | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -290,6 +295,7 @@ PLAN-ROOT SINK | | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -304,6 +310,7 @@ PLAN-ROOT SINK | | | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | runtime filters: RF047[min_max] -> ss_item_sk, RF046[bloom] -> ss_item_sk | | | stored statistics: | | | table: rows=8.64G size=389.90GB @@ -317,6 +324,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | | HDFS partitions=2004/2004 files=2004 size=48.14GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF042[min_max] -> sr_item_sk, RF043[min_max] -> sr_ticket_number | | stored statistics: | | table: rows=863.99M size=48.14GB @@ -357,6 +365,7 @@ PLAN-ROOT SINK | | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -391,6 +400,7 @@ PLAN-ROOT SINK | | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Sports' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -405,6 +415,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | | HDFS partitions=1831/1831 files=1831 size=280.96GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF039[min_max] -> cs_item_sk, RF038[bloom] -> cs_item_sk | | stored statistics: | | table: rows=4.32G size=280.96GB @@ -418,6 +429,7 @@ PLAN-ROOT SINK | 28:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF034[min_max] -> cr_item_sk, RF035[min_max] -> cr_order_number, RF032[bloom] -> cr_item_sk, RF033[bloom] -> cr_order_number | stored statistics: | table: rows=432.02M size=32.77GB @@ -489,6 +501,7 @@ PLAN-ROOT SINK | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -523,6 +536,7 @@ PLAN-ROOT SINK | | | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Sports' | | | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_brand_id, RF005[min_max] -> tpcds_partitioned_parquet_snap.item.i_category_id, RF006[min_max] -> tpcds_partitioned_parquet_snap.item.i_class_id, RF007[min_max] -> tpcds_partitioned_parquet_snap.item.i_manufact_id | | | stored statistics: @@ -538,6 +552,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF031[min_max] -> ws_item_sk, RF030[bloom] -> ws_item_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -551,6 +566,7 @@ PLAN-ROOT SINK | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | HDFS partitions=2114/2114 files=2114 size=16.74GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF026[min_max] -> wr_item_sk, RF027[min_max] -> wr_order_number | stored statistics: | table: rows=216.00M size=16.74GB @@ -591,6 +607,7 @@ PLAN-ROOT SINK | | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -625,6 +642,7 @@ PLAN-ROOT SINK | | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Sports' | | | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_brand_id, RF005[min_max] -> tpcds_partitioned_parquet_snap.item.i_category_id, RF006[min_max] -> tpcds_partitioned_parquet_snap.item.i_class_id, RF007[min_max] -> tpcds_partitioned_parquet_snap.item.i_manufact_id | | | stored statistics: @@ -640,6 +658,7 @@ PLAN-ROOT SINK | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF023[min_max] -> ss_item_sk, RF022[bloom] -> ss_item_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -653,6 +672,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF018[min_max] -> sr_item_sk, RF019[min_max] -> sr_ticket_number | stored statistics: | table: rows=863.99M size=48.14GB @@ -693,6 +713,7 @@ PLAN-ROOT SINK | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -727,6 +748,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_category = 'Sports' | | runtime filters: RF004[min_max] -> tpcds_partitioned_parquet_snap.item.i_brand_id, RF005[min_max] -> tpcds_partitioned_parquet_snap.item.i_category_id, RF006[min_max] -> tpcds_partitioned_parquet_snap.item.i_class_id, RF007[min_max] -> tpcds_partitioned_parquet_snap.item.i_manufact_id | | stored statistics: @@ -742,6 +764,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF015[min_max] -> cs_item_sk, RF014[bloom] -> cs_item_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -755,6 +778,7 @@ PLAN-ROOT SINK 04:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] HDFS partitions=2060/2060 files=2060 size=32.77GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF010[min_max] -> cr_item_sk, RF011[min_max] -> cr_order_number, RF008[bloom] -> cr_item_sk, RF009[bloom] -> cr_order_number stored statistics: table: rows=432.02M size=32.77GB @@ -929,6 +953,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -980,6 +1005,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -1088,6 +1114,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -1139,6 +1166,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -1247,6 +1275,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1298,6 +1327,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Sports' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -1463,6 +1493,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1610,6 +1641,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1757,6 +1789,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2004,6 +2037,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2055,6 +2089,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -2163,6 +2198,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | | HDFS partitions=1/1 files=1 size=2.17MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | | stored statistics: | | | | table: rows=73.05K size=2.17MB @@ -2214,6 +2250,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | | HDFS partitions=1/1 files=1 size=33.54MB | | | | deterministic scan range assignment: true +| | | | schedule scan ranges oldest to newest: true | | | | predicates: i_category = 'Sports' | | | | stored statistics: | | | | table: rows=360.00K size=33.54MB @@ -2322,6 +2359,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2000 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2373,6 +2411,7 @@ max-parallelism=4600 segment-costs=[45945066147, 220] cpu-comparison-result=1440 | | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | | HDFS partitions=1/1 files=1 size=33.54MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: i_category = 'Sports' | | | stored statistics: | | | table: rows=360.00K size=33.54MB @@ -2538,6 +2577,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2685,6 +2725,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2832,6 +2873,7 @@ max-parallelism=120 segment-costs=[2607739492, 793346183] cpu-comparison-result= | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q76.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q76.test index 54fe7666c..ee283bf9e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q76.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q76.test @@ -74,6 +74,7 @@ PLAN-ROOT SINK | |--13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=73.05K size=2.17MB | | columns: all @@ -93,6 +94,7 @@ PLAN-ROOT SINK | |--12:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -116,6 +118,7 @@ PLAN-ROOT SINK | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs_ship_customer_sk IS NULL | runtime filters: RF011[min_max] -> cs_item_sk, RF008[bloom] -> cs_sold_date_sk, RF010[bloom] -> cs_item_sk | stored statistics: @@ -150,6 +153,7 @@ PLAN-ROOT SINK | |--08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=73.05K size=2.17MB | | columns: all @@ -181,6 +185,7 @@ PLAN-ROOT SINK | |--07:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -204,6 +209,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_ship_hdemo_sk IS NULL | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: @@ -226,6 +232,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=73.05K size=2.17MB | columns: all @@ -245,6 +252,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -256,6 +264,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ss_cdemo_sk IS NULL runtime filters: RF003[min_max] -> ss_item_sk, RF000[bloom] -> ss_sold_date_sk, RF002[bloom] -> ss_item_sk stored statistics: @@ -405,6 +414,7 @@ max-parallelism=120 segment-costs=[4422132834, 44661836] cpu-comparison-result=1 | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs_ship_customer_sk IS NULL | runtime filters: RF011[min_max] -> cs_item_sk, RF008[bloom] -> cs_sold_date_sk, RF010[bloom] -> cs_item_sk | stored statistics: @@ -510,6 +520,7 @@ max-parallelism=120 segment-costs=[4422132834, 44661836] cpu-comparison-result=1 | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_ship_hdemo_sk IS NULL | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: @@ -742,6 +753,7 @@ max-parallelism=120 segment-costs=[4421970887, 44661836] cpu-comparison-result=1 | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: cs_ship_customer_sk IS NULL | runtime filters: RF011[min_max] -> cs_item_sk, RF008[bloom] -> cs_sold_date_sk, RF010[bloom] -> cs_item_sk | stored statistics: @@ -855,6 +867,7 @@ max-parallelism=120 segment-costs=[4421970887, 44661836] cpu-comparison-result=1 | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_ship_hdemo_sk IS NULL | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q77.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q77.test index a2c0f0dba..baa3ae5e9 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q77.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q77.test @@ -124,7 +124,7 @@ PLAN-ROOT SINK | in pipelines: 38(GETNEXT), 37(OPEN) | 59:TUPLE CACHE -| cache key: 0b13be7755189331a0af5a45927b1a1c +| cache key: 80700477c242ae4ba6fdac79c8a80ec8 | input scan node ids: 1,2,3,7,8,9,14,15,18,19,23,24,25,29,30,31 | estimated serialized size: 508.15KB | estimated serialized size per node: 50.81KB @@ -143,7 +143,7 @@ PLAN-ROOT SINK | in pipelines: 37(GETNEXT), 36(OPEN) | 58:TUPLE CACHE -| cache key: af90ca9d427a2e248bd4576cc3a11611 +| cache key: c16f2a42593144ba98bf4b7af2622e04 | input scan node ids: 1,2,3,7,8,9,14,15,18,19,23,24,25,29,30,31 | estimated serialized size: 1.41MB | estimated serialized size per node: 143.97KB @@ -174,7 +174,7 @@ PLAN-ROOT SINK | in pipelines: 06(GETNEXT), 17(GETNEXT), 28(GETNEXT) | |--57:TUPLE CACHE -| | cache key: f83dd9690570598a4c8e352db2a40b83 +| | cache key: c6fa404a0d493128acb447be552f3692 | | input scan node ids: 23,24,25,29,30,31 | | estimated serialized size: 281.25KB | | estimated serialized size per node: 28.12KB @@ -193,7 +193,7 @@ PLAN-ROOT SINK | | in pipelines: 28(GETNEXT), 34(OPEN) | | | |--56:TUPLE CACHE -| | | cache key: 552fdc986986c69ac85624fca289812a +| | | cache key: 1534bc7c18075ee1001092b8762a0b61 | | | input scan node ids: 29,30,31 | | | estimated serialized size: 140.62KB | | | estimated serialized size per node: 14.06KB @@ -212,7 +212,7 @@ PLAN-ROOT SINK | | | in pipelines: 34(GETNEXT), 29(OPEN) | | | | | 55:TUPLE CACHE -| | | cache key: 09f4906b7be36206d571f942709dd5da +| | | cache key: 917179a1f9e3ab79b81b9bd454325385 | | | input scan node ids: 29,30,31 | | | estimated serialized size: 118.78MB | | | estimated serialized size per node: 11.88MB @@ -234,6 +234,7 @@ PLAN-ROOT SINK | | |--31:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page] | | | HDFS partitions=1/1 files=1 size=72.76KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=3.60K size=72.76KB | | | columns: all @@ -243,7 +244,7 @@ PLAN-ROOT SINK | | | in pipelines: 31(GETNEXT) | | | | | 54:TUPLE CACHE -| | | cache key: 7dc3a2bfa970e4c80eff5dcb680a7330 +| | | cache key: 53a62e4072225a4bd3963791711da9e4 | | | input scan node ids: 29,30 | | | estimated serialized size: 96.66MB | | | estimated serialized size per node: 9.67MB @@ -277,6 +278,7 @@ PLAN-ROOT SINK | | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -291,6 +293,7 @@ PLAN-ROOT SINK | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> wr_web_page_sk, RF018[bloom] -> wr_returned_date_sk, RF016[bloom] -> wr_web_page_sk | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -302,7 +305,7 @@ PLAN-ROOT SINK | | in pipelines: 29(GETNEXT) | | | 52:TUPLE CACHE -| | cache key: 8d995582e6f19e7c9b40fa0e25b0a2c4 +| | cache key: 7e20900ac38511ede0170f9dd6d58fa6 | | input scan node ids: 23,24,25 | | estimated serialized size: 140.62KB | | estimated serialized size per node: 14.06KB @@ -331,6 +334,7 @@ PLAN-ROOT SINK | |--25:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page] | | HDFS partitions=1/1 files=1 size=72.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=3.60K size=72.76KB | | columns: all @@ -362,6 +366,7 @@ PLAN-ROOT SINK | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -376,6 +381,7 @@ PLAN-ROOT SINK | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> ws_web_page_sk, RF014[bloom] -> ws_sold_date_sk, RF012[bloom] -> ws_web_page_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -387,7 +393,7 @@ PLAN-ROOT SINK | in pipelines: 23(GETNEXT) | |--50:TUPLE CACHE -| | cache key: 10d73222a512d459ab0fcaeda896fa92 +| | cache key: fc56fe31fcc3a3fee9143ef45e529a84 | | input scan node ids: 14,15,18,19 | | estimated serialized size: 180.00KB | | estimated serialized size per node: 18.00KB @@ -404,7 +410,7 @@ PLAN-ROOT SINK | | in pipelines: 17(GETNEXT), 21(OPEN) | | | |--49:TUPLE CACHE -| | | cache key: 7dcf8f7697e447341383f9a3ecbd2f88 +| | | cache key: a693cafe34e67870ef035e7305bbf5dd | | | input scan node ids: 18,19 | | | estimated serialized size: 1.88KB | | | estimated serialized size per node: 192B @@ -423,7 +429,7 @@ PLAN-ROOT SINK | | | in pipelines: 21(GETNEXT), 18(OPEN) | | | | | 48:TUPLE CACHE -| | | cache key: 0526a754057d80012c2ea6c977bf0abd +| | | cache key: 1e0761638c311a2bcaf00a50bd1fa28c | | | input scan node ids: 18,19 | | | estimated serialized size: 198.40MB | | | estimated serialized size per node: 19.84MB @@ -457,6 +463,7 @@ PLAN-ROOT SINK | | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -471,6 +478,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF010[bloom] -> cr_returned_date_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -482,7 +490,7 @@ PLAN-ROOT SINK | | in pipelines: 18(GETNEXT) | | | 46:TUPLE CACHE -| | cache key: 2c0bb2b3a091ecf07c64a0fb67599b5d +| | cache key: ff86042be58ce579aed33212c866b836 | | input scan node ids: 14,15 | | estimated serialized size: 1.88KB | | estimated serialized size per node: 192B @@ -523,6 +531,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -537,6 +546,7 @@ PLAN-ROOT SINK | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -548,7 +558,7 @@ PLAN-ROOT SINK | in pipelines: 14(GETNEXT) | 44:TUPLE CACHE -| cache key: 77e91c9b47705e0b2385b2059bebf42a +| cache key: 010d3397c745e7210546d3f933b63ae8 | input scan node ids: 1,2,3,7,8,9 | estimated serialized size: 103.05KB | estimated serialized size per node: 10.30KB @@ -567,7 +577,7 @@ PLAN-ROOT SINK | in pipelines: 06(GETNEXT), 12(OPEN) | |--43:TUPLE CACHE -| | cache key: 7580bd2041dfdadf1592a276665fdbb4 +| | cache key: f0fe35a850e7c90418ba7a9eeb4852a0 | | input scan node ids: 7,8,9 | | estimated serialized size: 51.52KB | | estimated serialized size per node: 5.15KB @@ -586,7 +596,7 @@ PLAN-ROOT SINK | | in pipelines: 12(GETNEXT), 07(OPEN) | | | 42:TUPLE CACHE -| | cache key: b069f8b41cfde7a708c7235cb85d45d0 +| | cache key: f156c554a75ce75690cd8992eb389a68 | | input scan node ids: 7,8,9 | | estimated serialized size: 509.84MB | | estimated serialized size per node: 50.98MB @@ -608,6 +618,7 @@ PLAN-ROOT SINK | |--09:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=1.35K size=119.76KB | | columns: all @@ -639,6 +650,7 @@ PLAN-ROOT SINK | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -653,6 +665,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> sr_store_sk, RF006[bloom] -> sr_returned_date_sk, RF004[bloom] -> sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -664,7 +677,7 @@ PLAN-ROOT SINK | in pipelines: 07(GETNEXT) | 40:TUPLE CACHE -| cache key: 29c7641301c3bf5ee18af7834a16b0e5 +| cache key: ae4411c3fd1359daeaca84d423495269 | input scan node ids: 1,2,3 | estimated serialized size: 51.52KB | estimated serialized size per node: 5.15KB @@ -693,6 +706,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -724,6 +738,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | stored statistics: | table: rows=73.05K size=2.17MB @@ -738,6 +753,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF000[bloom] -> ss_store_sk stored statistics: table: rows=8.64G size=389.90GB @@ -854,7 +870,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | Per-Instance Resources: mem-estimate=42.69MB mem-reservation=14.25MB thread-reservation=1 | | max-parallelism=10 segment-costs=[5747358, 1223435] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | | 80:TUPLE CACHE -| | | cache key: 0198fa77e727a74437951e3c659bc188 +| | | cache key: 3e27b070c3ca8cf0b508ef929ace3d95 | | | input scan node ids: 29 | | | estimated serialized size: 16.47MB | | | estimated serialized size per node: 1.65MB @@ -873,7 +889,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 29(GETNEXT) | | | | | 79:TUPLE CACHE -| | | cache key: f559ef897a3eee6e1aa3ccf520d2889b +| | | cache key: 1701f2707bd5af7aab988d0dea0e330a | | | input scan node ids: 29 | | | estimated serialized size: 118.78MB | | | estimated serialized size per node: 11.88MB @@ -920,7 +936,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 31(GETNEXT) | | | | | 78:TUPLE CACHE -| | | cache key: 4bfea6ec7dec4a74ac97a9888a7a01c9 +| | | cache key: f30b115f5e78eb8cda0d9d4272c1f697 | | | input scan node ids: 29 | | | estimated serialized size: 96.66MB | | | estimated serialized size per node: 9.67MB @@ -971,6 +987,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -985,6 +1002,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns, RANDOM] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> wr_web_page_sk, RF018[bloom] -> wr_returned_date_sk, RF016[bloom] -> wr_web_page_sk | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -1012,7 +1030,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=6.12MB thread-reservation=1 | max-parallelism=10 segment-costs=[54689653, 1224115] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | 76:TUPLE CACHE -| | cache key: d877f3a65fe5a2941a8c47e89efeeccc +| | cache key: 97d85661ae94899768aeff17ca826445 | | input scan node ids: 23 | | estimated serialized size: 16.48MB | | estimated serialized size per node: 1.65MB @@ -1105,6 +1123,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1119,6 +1138,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> ws_web_page_sk, RF014[bloom] -> ws_sold_date_sk, RF012[bloom] -> ws_web_page_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -1167,7 +1187,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | Per-Instance Resources: mem-estimate=35.56MB mem-reservation=10.03MB thread-reservation=1 | | max-parallelism=10 segment-costs=[6715181, 16321] cpu-comparison-result=11 [max(10 (self) vs 11 (sum children))] | | 74:TUPLE CACHE -| | | cache key: 47caa2b495142c12134a18228994ee2d +| | | cache key: e243d70e55f4b7166ceb5f7525aeeb84 | | | input scan node ids: 18 | | | estimated serialized size: 225.00KB | | | estimated serialized size per node: 22.50KB @@ -1186,7 +1206,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 18(GETNEXT) | | | | | 73:TUPLE CACHE -| | | cache key: f67efb915d8ae7e677c2eeff2168aa11 +| | | cache key: 0fd1167619d758e0444aab6947e23043 | | | input scan node ids: 18 | | | estimated serialized size: 198.40MB | | | estimated serialized size per node: 19.84MB @@ -1237,6 +1257,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1251,6 +1272,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF010[bloom] -> cr_returned_date_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -1278,7 +1300,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=7.00MB thread-reservation=1 | max-parallelism=10 segment-costs=[75394832, 16321] cpu-comparison-result=11 [max(10 (self) vs 11 (sum children))] | 71:TUPLE CACHE -| | cache key: c2edbb64f0eceea5f86b7472639a2c83 +| | cache key: 2ca172769b742f1e9aae164884e827b4 | | input scan node ids: 14 | | estimated serialized size: 225.00KB | | estimated serialized size per node: 22.50KB @@ -1336,6 +1358,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1350,6 +1373,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -1393,7 +1417,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=38.69MB mem-reservation=10.50MB thread-reservation=1 | max-parallelism=10 segment-costs=[20036633, 448502] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | 69:TUPLE CACHE -| | cache key: 0c519790e7069be4287ccad4afa3db91 +| | cache key: b8e1cffe2a489efc842752657a6289d2 | | input scan node ids: 7 | | estimated serialized size: 6.04MB | | estimated serialized size per node: 618.28KB @@ -1412,7 +1436,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | in pipelines: 07(GETNEXT) | | | 68:TUPLE CACHE -| | cache key: 8cba6d86e9a68cbd37763f6eebfafa79 +| | cache key: 440bb4c6a5e53bb7401e02d04bdf4c30 | | input scan node ids: 7 | | estimated serialized size: 509.84MB | | estimated serialized size per node: 50.98MB @@ -1498,6 +1522,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1512,6 +1537,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> sr_store_sk, RF006[bloom] -> sr_returned_date_sk, RF004[bloom] -> sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -1539,7 +1565,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=34.69MB mem-reservation=14.00MB thread-reservation=1 max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [max(30 (self) vs 22 (sum children))] 66:TUPLE CACHE -| cache key: ff195f7eee6125d1338d2805a63b4d76 +| cache key: efaeb8c5de74cf20f3ae582a782a0a82 | input scan node ids: 1 | estimated serialized size: 6.04MB | estimated serialized size per node: 618.28KB @@ -1632,6 +1658,7 @@ max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | stored statistics: | table: rows=73.05K size=2.17MB @@ -1646,6 +1673,7 @@ max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF000[bloom] -> ss_store_sk stored statistics: table: rows=8.64G size=389.90GB @@ -1762,7 +1790,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | Per-Instance Resources: mem-estimate=42.69MB mem-reservation=14.25MB thread-reservation=1 | | max-parallelism=10 segment-costs=[5747358, 1223435] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | | 80:TUPLE CACHE -| | | cache key: 0198fa77e727a74437951e3c659bc188 +| | | cache key: 3e27b070c3ca8cf0b508ef929ace3d95 | | | input scan node ids: 29 | | | estimated serialized size: 16.47MB | | | estimated serialized size per node: 1.65MB @@ -1781,7 +1809,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 29(GETNEXT) | | | | | 79:TUPLE CACHE -| | | cache key: f559ef897a3eee6e1aa3ccf520d2889b +| | | cache key: 1701f2707bd5af7aab988d0dea0e330a | | | input scan node ids: 29 | | | estimated serialized size: 118.78MB | | | estimated serialized size per node: 11.88MB @@ -1828,7 +1856,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 31(GETNEXT) | | | | | 78:TUPLE CACHE -| | | cache key: 4bfea6ec7dec4a74ac97a9888a7a01c9 +| | | cache key: f30b115f5e78eb8cda0d9d4272c1f697 | | | input scan node ids: 29 | | | estimated serialized size: 96.66MB | | | estimated serialized size per node: 9.67MB @@ -1879,6 +1907,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | 30:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1893,6 +1922,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns, RANDOM] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF017[min_max] -> wr_web_page_sk, RF018[bloom] -> wr_returned_date_sk, RF016[bloom] -> wr_web_page_sk | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -1920,7 +1950,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=6.12MB thread-reservation=1 | max-parallelism=10 segment-costs=[54689653, 1224115] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | 76:TUPLE CACHE -| | cache key: d877f3a65fe5a2941a8c47e89efeeccc +| | cache key: 97d85661ae94899768aeff17ca826445 | | input scan node ids: 23 | | estimated serialized size: 16.48MB | | estimated serialized size per node: 1.65MB @@ -2013,6 +2043,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2027,6 +2058,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> ws_web_page_sk, RF014[bloom] -> ws_sold_date_sk, RF012[bloom] -> ws_web_page_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -2075,7 +2107,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | Per-Instance Resources: mem-estimate=35.56MB mem-reservation=10.03MB thread-reservation=1 | | max-parallelism=10 segment-costs=[6715181, 16321] cpu-comparison-result=11 [max(10 (self) vs 11 (sum children))] | | 74:TUPLE CACHE -| | | cache key: 47caa2b495142c12134a18228994ee2d +| | | cache key: e243d70e55f4b7166ceb5f7525aeeb84 | | | input scan node ids: 18 | | | estimated serialized size: 225.00KB | | | estimated serialized size per node: 22.50KB @@ -2094,7 +2126,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | in pipelines: 18(GETNEXT) | | | | | 73:TUPLE CACHE -| | | cache key: f67efb915d8ae7e677c2eeff2168aa11 +| | | cache key: 0fd1167619d758e0444aab6947e23043 | | | input scan node ids: 18 | | | estimated serialized size: 198.40MB | | | estimated serialized size per node: 19.84MB @@ -2145,6 +2177,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -2159,6 +2192,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF010[bloom] -> cr_returned_date_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -2186,7 +2220,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=34.69MB mem-reservation=7.00MB thread-reservation=1 | max-parallelism=10 segment-costs=[75394832, 16321] cpu-comparison-result=11 [max(10 (self) vs 11 (sum children))] | 71:TUPLE CACHE -| | cache key: c2edbb64f0eceea5f86b7472639a2c83 +| | cache key: 2ca172769b742f1e9aae164884e827b4 | | input scan node ids: 14 | | estimated serialized size: 225.00KB | | estimated serialized size per node: 22.50KB @@ -2244,6 +2278,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2258,6 +2293,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF008[bloom] -> cs_sold_date_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -2301,7 +2337,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | Per-Instance Resources: mem-estimate=38.69MB mem-reservation=10.50MB thread-reservation=1 | max-parallelism=10 segment-costs=[20036633, 448502] cpu-comparison-result=22 [max(10 (self) vs 22 (sum children))] | 69:TUPLE CACHE -| | cache key: 0c519790e7069be4287ccad4afa3db91 +| | cache key: b8e1cffe2a489efc842752657a6289d2 | | input scan node ids: 7 | | estimated serialized size: 6.04MB | | estimated serialized size per node: 618.28KB @@ -2320,7 +2356,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | in pipelines: 07(GETNEXT) | | | 68:TUPLE CACHE -| | cache key: 8cba6d86e9a68cbd37763f6eebfafa79 +| | cache key: 440bb4c6a5e53bb7401e02d04bdf4c30 | | input scan node ids: 7 | | estimated serialized size: 509.84MB | | estimated serialized size per node: 50.98MB @@ -2406,6 +2442,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2420,6 +2457,7 @@ max-parallelism=30 segment-costs=[104611, 3806, 285519, 71965, 107151] cpu-compa | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns, RANDOM] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> sr_store_sk, RF006[bloom] -> sr_returned_date_sk, RF004[bloom] -> sr_store_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -2447,7 +2485,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=34.69MB mem-reservation=14.00MB thread-reservation=1 max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [max(30 (self) vs 22 (sum children))] 66:TUPLE CACHE -| cache key: ff195f7eee6125d1338d2805a63b4d76 +| cache key: efaeb8c5de74cf20f3ae582a782a0a82 | input scan node ids: 1 | estimated serialized size: 6.04MB | estimated serialized size per node: 618.28KB @@ -2540,6 +2578,7 @@ max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-09-26', d_date >= DATE '2001-08-27' | stored statistics: | table: rows=73.05K size=2.17MB @@ -2554,6 +2593,7 @@ max-parallelism=30 segment-costs=[216019312, 448502] cpu-comparison-result=30 [m 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF000[bloom] -> ss_store_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q78.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q78.test index f5342ae6f..336c45021 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q78.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q78.test @@ -92,7 +92,7 @@ PLAN-ROOT SINK | | in pipelines: 11(GETNEXT), 05(OPEN) | | | |--24:TUPLE CACHE -| | | cache key: 61f1f416e1c2b78d3296bc4ff9dd4a0d +| | | cache key: cb9e13190c47347a302a087dece34697 | | | input scan node ids: 0,1,2 | | | estimated serialized size: 481.42MB | | | estimated serialized size per node: 48.14MB @@ -134,6 +134,7 @@ PLAN-ROOT SINK | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -156,6 +157,7 @@ PLAN-ROOT SINK | | |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | | | HDFS partitions=2004/2004 files=2004 size=48.14GB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | stored statistics: | | | table: rows=863.99M size=48.14GB | | | partitions: 2004/2004 rows=863.99M @@ -168,6 +170,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | | HDFS partitions=1824/1824 files=1824 size=389.90GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF016[bloom] -> ss_sold_date_sk | | stored statistics: | | table: rows=8.64G size=389.90GB @@ -194,7 +197,7 @@ PLAN-ROOT SINK | | in pipelines: 06(GETNEXT), 08(OPEN) | | | |--22:TUPLE CACHE -| | | cache key: a6698132e45141c7d3234fa8d36a7f0b +| | | cache key: 4a5290a0c24ef4c8990b02588d1d9e16 | | | input scan node ids: 8 | | | estimated serialized size: 4.37KB | | | estimated serialized size per node: 4.37KB @@ -208,6 +211,7 @@ PLAN-ROOT SINK | | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | runtime filters: RF008[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_year | | stored statistics: @@ -268,7 +272,7 @@ PLAN-ROOT SINK | in pipelines: 12(GETNEXT), 14(OPEN) | |--21:TUPLE CACHE -| | cache key: ceab19b1c0a0eeaacb51b2743db0a1f7 +| | cache key: 41299eec7e7a08813541f64b61c43dd6 | | input scan node ids: 14 | | estimated serialized size: 4.37KB | | estimated serialized size per node: 4.37KB @@ -282,6 +286,7 @@ PLAN-ROOT SINK | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | runtime filters: RF000[bloom] -> tpcds_partitioned_parquet_snap.date_dim.d_year | stored statistics: @@ -467,6 +472,7 @@ max-parallelism=570 segment-costs=[5626132876, 344790029, 293] cpu-comparison-re | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -892,6 +898,7 @@ max-parallelism=570 segment-costs=[5626132876, 344790029, 293] cpu-comparison-re | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: tpcds_partitioned_parquet_snap.date_dim.d_year = CAST(2002 AS INT) | | | stored statistics: | | | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q79.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q79.test index 6dc9fd569..28c21cb5e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q79.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q79.test @@ -87,6 +87,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow = CAST(1 AS INT), date_dim.d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -121,6 +122,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT) | stored statistics: | table: rows=1.35K size=119.76KB @@ -155,6 +157,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(0 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -308,6 +311,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow = CAST(1 AS INT), date_dim.d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -359,6 +363,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT) | stored statistics: | table: rows=1.35K size=119.76KB @@ -410,6 +415,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(0 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB @@ -563,6 +569,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: date_dim.d_dow = CAST(1 AS INT), date_dim.d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -614,6 +621,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT) | stored statistics: | table: rows=1.35K size=119.76KB @@ -665,6 +673,7 @@ max-parallelism=170 segment-costs=[1609537361, 196151963] cpu-comparison-result= | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: (household_demographics.hd_dep_count = CAST(0 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT)) | stored statistics: | table: rows=7.20K size=41.69KB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q80.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q80.test index e5d103862..125c5702c 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q80.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q80.test @@ -112,7 +112,7 @@ PLAN-ROOT SINK | in pipelines: 39(GETNEXT), 38(OPEN) | 52:TUPLE CACHE -| cache key: b6dd3ab17477b2967b2c22a4fc8c2c9e +| cache key: 14f0ce24d2175bd11e5bec08694f84dd | input scan node ids: 1,2,3,5,6,4,13,14,15,17,18,16,25,26,27,29,28,30 | estimated serialized size: 2.80MB | estimated serialized size per node: 286.84KB @@ -131,7 +131,7 @@ PLAN-ROOT SINK | in pipelines: 38(GETNEXT), 37(OPEN) | 51:TUPLE CACHE -| cache key: b8d2ad0473423fa00d2e9124e5fab85e +| cache key: 39355f5fab62883783aec9da2a175617 | input scan node ids: 1,2,3,5,6,4,13,14,15,17,18,16,25,26,27,29,28,30 | estimated serialized size: 7.98MB | estimated serialized size per node: 817.48KB @@ -162,7 +162,7 @@ PLAN-ROOT SINK | in pipelines: 12(GETNEXT), 24(GETNEXT), 36(GETNEXT) | |--50:TUPLE CACHE -| | cache key: 58746d9bdc428f75dcb406aa115c8558 +| | cache key: a13614b02202fa2cea58eaad7596b67b | | input scan node ids: 25,26,27,29,28,30 | | estimated serialized size: 2.58KB | | estimated serialized size per node: 264B @@ -191,6 +191,7 @@ PLAN-ROOT SINK | |--30:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | | HDFS partitions=1/1 files=1 size=100.50KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: p_channel_tv = 'N' | | stored statistics: | | table: rows=1.80K size=100.50KB @@ -213,6 +214,7 @@ PLAN-ROOT SINK | |--28:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site] | | HDFS partitions=1/1 files=1 size=17.88KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=66 size=17.88KB | | columns: all @@ -222,7 +224,7 @@ PLAN-ROOT SINK | | in pipelines: 28(GETNEXT) | | | 49:TUPLE CACHE -| | cache key: 348c669bc30fdd152912215797c9c8e2 +| | cache key: 2839b893ed962a02ba3dac174f48c9c6 | | input scan node ids: 25,26,27,29 | | estimated serialized size: 293.93MB | | estimated serialized size per node: 29.39MB @@ -256,6 +258,7 @@ PLAN-ROOT SINK | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -290,6 +293,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -311,6 +315,7 @@ PLAN-ROOT SINK | |--26:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF021[min_max] -> tpcds_partitioned_parquet_snap.web_returns.wr_item_sk, RF020[bloom] -> tpcds_partitioned_parquet_snap.web_returns.wr_item_sk | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -324,6 +329,7 @@ PLAN-ROOT SINK | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF021[min_max] -> ws_item_sk, RF019[min_max] -> ws_web_site_sk, RF017[min_max] -> ws_promo_sk, RF022[bloom] -> ws_sold_date_sk, RF020[bloom] -> ws_item_sk, RF018[bloom] -> ws_web_site_sk, RF016[bloom] -> ws_promo_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -335,7 +341,7 @@ PLAN-ROOT SINK | in pipelines: 25(GETNEXT) | |--46:TUPLE CACHE -| | cache key: 72fb200c007a322ddf8274b392848c67 +| | cache key: 11b55b4bc02b61f5c12223b80248f4d8 | | input scan node ids: 13,14,15,17,18,16 | | estimated serialized size: 2.75MB | | estimated serialized size per node: 281.25KB @@ -364,6 +370,7 @@ PLAN-ROOT SINK | |--16:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_page] | | HDFS partitions=1/1 files=1 size=2.24MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=36.00K size=2.24MB | | columns: all @@ -383,6 +390,7 @@ PLAN-ROOT SINK | |--18:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | | HDFS partitions=1/1 files=1 size=100.50KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: p_channel_tv = 'N' | | stored statistics: | | table: rows=1.80K size=100.50KB @@ -395,7 +403,7 @@ PLAN-ROOT SINK | | in pipelines: 18(GETNEXT) | | | 45:TUPLE CACHE -| | cache key: bf77d5048ae5eb0d4114b545d2ab551c +| | cache key: 301aaf8dd24628ddc9263463f5043923 | | input scan node ids: 13,14,15,17 | | estimated serialized size: 585.64MB | | estimated serialized size per node: 58.56MB @@ -429,6 +437,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -463,6 +472,7 @@ PLAN-ROOT SINK | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -484,6 +494,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | | HDFS partitions=2060/2060 files=2060 size=32.77GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF013[min_max] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_item_sk, RF012[bloom] -> tpcds_partitioned_parquet_snap.catalog_returns.cr_item_sk | | stored statistics: | | table: rows=432.02M size=32.77GB @@ -497,6 +508,7 @@ PLAN-ROOT SINK | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF013[min_max] -> cs_item_sk, RF011[min_max] -> cs_promo_sk, RF009[min_max] -> cs_catalog_page_sk, RF014[bloom] -> cs_sold_date_sk, RF012[bloom] -> cs_item_sk, RF010[bloom] -> cs_promo_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -508,7 +520,7 @@ PLAN-ROOT SINK | in pipelines: 13(GETNEXT) | 42:TUPLE CACHE -| cache key: 4d41a999ad1781546846014513194693 +| cache key: 15dc17e1785009c71ffc337b9642cffd | input scan node ids: 1,2,3,5,6,4 | estimated serialized size: 52.97KB | estimated serialized size per node: 5.30KB @@ -537,6 +549,7 @@ PLAN-ROOT SINK |--04:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=1.35K size=119.76KB | columns: all @@ -556,6 +569,7 @@ PLAN-ROOT SINK |--06:SCAN HDFS [tpcds_partitioned_parquet_snap.promotion] | HDFS partitions=1/1 files=1 size=100.50KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: p_channel_tv = 'N' | stored statistics: | table: rows=1.80K size=100.50KB @@ -590,6 +604,7 @@ PLAN-ROOT SINK | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -624,6 +639,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | stored statistics: | table: rows=73.05K size=2.17MB @@ -645,6 +661,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk, RF004[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_item_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -658,6 +675,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_item_sk, RF003[min_max] -> ss_promo_sk, RF001[min_max] -> ss_store_sk, RF006[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk, RF002[bloom] -> ss_promo_sk stored statistics: table: rows=8.64G size=389.90GB @@ -876,6 +894,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -927,6 +946,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1131,6 +1151,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1182,6 +1203,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1386,6 +1408,7 @@ max-parallelism=180 segment-costs=[1764974287, 440125] cpu-comparison-result=177 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -1437,6 +1460,7 @@ max-parallelism=180 segment-costs=[1764974287, 440125] cpu-comparison-result=177 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | stored statistics: | table: rows=73.05K size=2.17MB @@ -1714,6 +1738,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 29:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -1765,6 +1790,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1969,6 +1995,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -2020,6 +2047,7 @@ max-parallelism=10 segment-costs=[74437, 3228026, 3622, 344492, 574824] cpu-comp | | 15:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -2224,6 +2252,7 @@ max-parallelism=180 segment-costs=[1764974287, 440125] cpu-comparison-result=177 | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price > CAST(50 AS DECIMAL(3,0)) | stored statistics: | table: rows=360.00K size=33.54MB @@ -2275,6 +2304,7 @@ max-parallelism=180 segment-costs=[1764974287, 440125] cpu-comparison-result=177 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '1999-09-11', d_date >= DATE '1999-08-12' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q81.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q81.test index d1cf23f31..d3362ecd3 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q81.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q81.test @@ -91,6 +91,7 @@ PLAN-ROOT SINK | |--10:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=15.00M size=307.36MB | | columns: all @@ -122,6 +123,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -136,6 +138,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> cr_returning_addr_sk, RF012[bloom] -> cr_returned_date_sk, RF010[bloom] -> cr_returning_addr_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -189,6 +192,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'NC' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -215,6 +219,7 @@ PLAN-ROOT SINK | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -273,6 +278,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -474,6 +480,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -575,6 +582,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'NC' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -601,6 +609,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -726,6 +735,7 @@ max-parallelism=30 segment-costs=[253767892] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -927,6 +937,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2001 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1028,6 +1039,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | HDFS partitions=1/1 files=1 size=307.36MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ca_state = 'NC' | | stored statistics: | | table: rows=15.00M size=307.36MB @@ -1054,6 +1066,7 @@ max-parallelism=20 segment-costs=[155192524, 803] cpu-comparison-result=210 [max | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.customer, RANDOM] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> c_current_addr_sk, RF008[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -1179,6 +1192,7 @@ max-parallelism=30 segment-costs=[253767892] | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q82.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q82.test index fed9cd186..db1a3f7d7 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q82.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q82.test @@ -73,6 +73,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2002-05-09', d_date >= DATE '2002-03-10' | stored statistics: | table: rows=73.05K size=2.17MB @@ -95,6 +96,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.inventory] | HDFS partitions=261/261 files=261 size=5.10GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: inv_quantity_on_hand <= CAST(500 AS INT), inv_quantity_on_hand >= CAST(100 AS INT) | runtime filters: RF000[bloom] -> inv_date_sk | stored statistics: @@ -131,6 +133,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(112 AS DECIMAL(5,0)), i_current_price >= CAST(82 AS DECIMAL(3,0)), i_manufact_id IN (CAST(941 AS INT), CAST(920 AS INT), CAST(105 AS INT), CAST(693 AS INT)) | runtime filters: RF003[min_max] -> i_item_sk, RF002[bloom] -> i_item_sk | stored statistics: @@ -158,6 +161,7 @@ PLAN-ROOT SINK 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF005[min_max] -> ss_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -253,6 +257,7 @@ max-parallelism=290 segment-costs=[2834938757, 424544066] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2002-05-09', d_date >= DATE '2002-03-10' | stored statistics: | table: rows=73.05K size=2.17MB @@ -355,6 +360,7 @@ max-parallelism=70 segment-costs=[629576044] | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(112 AS DECIMAL(5,0)), i_current_price >= CAST(82 AS DECIMAL(3,0)), i_manufact_id IN (CAST(941 AS INT), CAST(920 AS INT), CAST(105 AS INT), CAST(693 AS INT)) | runtime filters: RF003[min_max] -> i_item_sk, RF002[bloom] -> i_item_sk | stored statistics: @@ -382,6 +388,7 @@ max-parallelism=70 segment-costs=[629576044] 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF005[min_max] -> ss_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -477,6 +484,7 @@ max-parallelism=290 segment-costs=[2834938757, 424544066] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2002-05-09', d_date >= DATE '2002-03-10' | stored statistics: | table: rows=73.05K size=2.17MB @@ -579,6 +587,7 @@ max-parallelism=70 segment-costs=[629576044] | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_current_price <= CAST(112 AS DECIMAL(5,0)), i_current_price >= CAST(82 AS DECIMAL(3,0)), i_manufact_id IN (CAST(941 AS INT), CAST(920 AS INT), CAST(105 AS INT), CAST(693 AS INT)) | runtime filters: RF003[min_max] -> i_item_sk, RF002[bloom] -> i_item_sk | stored statistics: @@ -606,6 +615,7 @@ max-parallelism=70 segment-costs=[629576044] 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF005[min_max] -> ss_item_sk, RF002[bloom] -> tpcds_partitioned_parquet_snap.store_sales.ss_item_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q83.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q83.test index 0d82792d0..d4f5252ac 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q83.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q83.test @@ -83,7 +83,7 @@ PLAN-ROOT SINK | in pipelines: 32(GETNEXT), 09(OPEN) | 49:TUPLE CACHE -| cache key: 10fc7b3af3c7b2efe9fcf5af114451c4 +| cache key: 8c2e4034cae21db3a14782c03eee417c | input scan node ids: 0,1,2,3,4,20,21,22,23,24,10,11,12,13,14 | estimated serialized size: 28.97MB | estimated serialized size per node: 2.90MB @@ -103,7 +103,7 @@ PLAN-ROOT SINK | in pipelines: 09(GETNEXT), 19(OPEN) | |--48:TUPLE CACHE -| | cache key: ff39b72e39bde59ad44dd8fa74eab42c +| | cache key: 4ce5835f4f902d6799800b1ef0f4e4e1 | | input scan node ids: 10,11,12,13,14 | | estimated serialized size: 5.13MB | | estimated serialized size per node: 525.54KB @@ -122,7 +122,7 @@ PLAN-ROOT SINK | | in pipelines: 19(GETNEXT), 10(OPEN) | | | 47:TUPLE CACHE -| | cache key: 550d6d1741a75ee5694dd317178c2cbc +| | cache key: 7e5648090d50e77e2633e6050694ecb2 | | input scan node ids: 10,11,12,13,14 | | estimated serialized size: 8.21MB | | estimated serialized size per node: 840.87KB @@ -141,7 +141,7 @@ PLAN-ROOT SINK | | in pipelines: 10(GETNEXT), 13(OPEN) | | | |--46:TUPLE CACHE -| | | cache key: 40f13a0003dcd36a97dcfbcea310da82 +| | | cache key: a5e2838f615cf435179dfac8ab90971f | | | input scan node ids: 13,14 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -174,6 +174,7 @@ PLAN-ROOT SINK | | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -186,7 +187,7 @@ PLAN-ROOT SINK | | | in pipelines: 14(GETNEXT) | | | | | 44:TUPLE CACHE -| | | cache key: fcdb78c01a9561cb0a337ce115d15fff +| | | cache key: 0981b556fda5a49a391f70f034a180ba | | | input scan node ids: 13 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -200,6 +201,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF027[min_max] -> d_week_seq, RF026[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -219,6 +221,7 @@ PLAN-ROOT SINK | |--12:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF021[min_max] -> d_date, RF020[bloom] -> d_date | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -239,6 +242,7 @@ PLAN-ROOT SINK | |--11:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=360.00K size=33.54MB | | columns: all @@ -250,6 +254,7 @@ PLAN-ROOT SINK | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF025[min_max] -> cr_item_sk, RF024[bloom] -> cr_item_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -261,7 +266,7 @@ PLAN-ROOT SINK | in pipelines: 10(GETNEXT) | 43:TUPLE CACHE -| cache key: d2c2cf710fa5754bb1c850d8f8bb56fd +| cache key: 6a3548562fcace80d57383fa8c0b6ab5 | input scan node ids: 0,1,2,3,4,20,21,22,23,24 | estimated serialized size: 9.96MB | estimated serialized size per node: 1019.51KB @@ -281,7 +286,7 @@ PLAN-ROOT SINK | in pipelines: 09(GETNEXT), 29(OPEN) | |--42:TUPLE CACHE -| | cache key: da81637098bb8a14e5b1c30265362f92 +| | cache key: 60bb312be6a1866399253239a3b60180 | | input scan node ids: 20,21,22,23,24 | | estimated serialized size: 2.57MB | | estimated serialized size per node: 262.77KB @@ -300,7 +305,7 @@ PLAN-ROOT SINK | | in pipelines: 29(GETNEXT), 20(OPEN) | | | 41:TUPLE CACHE -| | cache key: a7822b53fc0eb487ac975c07f85d0456 +| | cache key: 53b3fd1d823f44218269593585bb82b6 | | input scan node ids: 20,21,22,23,24 | | estimated serialized size: 4.11MB | | estimated serialized size per node: 420.42KB @@ -319,7 +324,7 @@ PLAN-ROOT SINK | | in pipelines: 20(GETNEXT), 23(OPEN) | | | |--40:TUPLE CACHE -| | | cache key: fffdc4f1f29d9d1964093ec51744f38f +| | | cache key: 15b2171ec2335e6b33b8fff420fb6ce0 | | | input scan node ids: 23,24 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -352,6 +357,7 @@ PLAN-ROOT SINK | | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -364,7 +370,7 @@ PLAN-ROOT SINK | | | in pipelines: 24(GETNEXT) | | | | | 38:TUPLE CACHE -| | | cache key: 7860d93fcbbe5184fc02f3ef7e26956b +| | | cache key: 678ef52ee48e7e83e5c750d5a644f7bc | | | input scan node ids: 23 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -378,6 +384,7 @@ PLAN-ROOT SINK | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> d_week_seq, RF018[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -397,6 +404,7 @@ PLAN-ROOT SINK | |--22:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF013[min_max] -> d_date, RF012[bloom] -> d_date | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -417,6 +425,7 @@ PLAN-ROOT SINK | |--21:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_id | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -429,6 +438,7 @@ PLAN-ROOT SINK | 20:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | HDFS partitions=2114/2114 files=2114 size=16.74GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF017[min_max] -> wr_item_sk, RF016[bloom] -> wr_item_sk | stored statistics: | table: rows=216.00M size=16.74GB @@ -440,7 +450,7 @@ PLAN-ROOT SINK | in pipelines: 20(GETNEXT) | 37:TUPLE CACHE -| cache key: 47be14f42da6db7791b19a764cd948c6 +| cache key: 0ee034ec24c204dd5a09e7cf47fe9604 | input scan node ids: 0,1,2,3,4 | estimated serialized size: 7.08MB | estimated serialized size per node: 724.89KB @@ -459,7 +469,7 @@ PLAN-ROOT SINK | in pipelines: 09(GETNEXT), 00(OPEN) | 36:TUPLE CACHE -| cache key: b27d2f01ddd8782b24adddfa72becbb5 +| cache key: 4d599147d094062c7b8edcc0eea507ed | input scan node ids: 0,1,2,3,4 | estimated serialized size: 16.42MB | estimated serialized size per node: 1.64MB @@ -478,7 +488,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT), 03(OPEN) | |--35:TUPLE CACHE -| | cache key: 6423d0e6786bbf9dad1b170859eba291 +| | cache key: f7c04c095bf56ac0f0f81518ac6c8db1 | | input scan node ids: 3,4 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -511,6 +521,7 @@ PLAN-ROOT SINK | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -523,7 +534,7 @@ PLAN-ROOT SINK | | in pipelines: 04(GETNEXT) | | | 33:TUPLE CACHE -| | cache key: a0755c95cadf11839d4cc101f47aa212 +| | cache key: e9e111e88daf0260eb082807319f9165 | | input scan node ids: 3 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -537,6 +548,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> d_week_seq, RF010[bloom] -> d_week_seq | stored statistics: | table: rows=73.05K size=2.17MB @@ -556,6 +568,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF005[min_max] -> d_date, RF004[bloom] -> d_date | stored statistics: | table: rows=73.05K size=2.17MB @@ -576,6 +589,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_id, RF001[min_max] -> tpcds_partitioned_parquet_snap.item.i_item_id, RF002[bloom] -> tpcds_partitioned_parquet_snap.item.i_item_id | stored statistics: | table: rows=360.00K size=33.54MB @@ -588,6 +602,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF009[min_max] -> sr_item_sk, RF008[bloom] -> sr_item_sk stored statistics: table: rows=863.99M size=48.14GB @@ -657,7 +672,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | Per-Instance Resources: mem-estimate=35.56MB mem-reservation=10.03MB thread-reservation=1 | max-parallelism=60 segment-costs=[563822690, 381229] cpu-comparison-result=60 [max(60 (self) vs 36 (sum children))] | 62:TUPLE CACHE -| | cache key: 5d75d93ad26f68e2ff92c92e4eeeec42 +| | cache key: 6b323fc98800e2a2575d32b5af6b8c7d | | input scan node ids: 10 | | estimated serialized size: 5.13MB | | estimated serialized size per node: 525.54KB @@ -676,7 +691,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | in pipelines: 10(GETNEXT) | | | 61:TUPLE CACHE -| | cache key: e0c77b9295431718cb2cd48b3804e041 +| | cache key: f35b8c98e2a7f0648b73e79d24531f22 | | input scan node ids: 10 | | estimated serialized size: 8.21MB | | estimated serialized size per node: 840.87KB @@ -713,7 +728,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | | max-parallelism=1 segment-costs=[8424] | | 60:TUPLE CACHE -| | | cache key: 4fa9998713eb1e8c77d9e555bb389d18 +| | | cache key: 44c6aefc728281e46290ae5469acfca8 | | | input scan node ids: 13 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -763,6 +778,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -775,7 +791,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | in pipelines: 14(GETNEXT) | | | | | 58:TUPLE CACHE -| | | cache key: 528e3500754c07a15ce8d0aea3582647 +| | | cache key: 69f7b7ea6931727e6d3dc24aca3d5b4a | | | input scan node ids: 13 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -789,6 +805,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF027[min_max] -> d_week_seq, RF026[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -872,6 +889,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF025[min_max] -> cr_item_sk, RF024[bloom] -> cr_item_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -948,7 +966,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | | max-parallelism=1 segment-costs=[8424] | | 57:TUPLE CACHE -| | | cache key: cd310a4d5dc8778f8052031d581ec676 +| | | cache key: f19ce056e977fa92ac0269ec7f8913a5 | | | input scan node ids: 23 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -998,6 +1016,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1010,7 +1029,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | in pipelines: 24(GETNEXT) | | | | | 55:TUPLE CACHE -| | | cache key: 92bdddee89fa4bd8e45b89c63726ef56 +| | | cache key: 744b53abae58cca63f2aa67c95e08f3b | | | input scan node ids: 23 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -1024,6 +1043,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> d_week_seq, RF018[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1166,7 +1186,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | max-parallelism=1 segment-costs=[8424] | 54:TUPLE CACHE -| | cache key: 6a01866f10efcd430396e50d960f9ce3 +| | cache key: 401964962a0403561e18d0697241ba07 | | input scan node ids: 3 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -1216,6 +1236,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1228,7 +1249,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | | in pipelines: 04(GETNEXT) | | | 52:TUPLE CACHE -| | cache key: c0e8c18850dd573281c6f4bc249c0f1d +| | cache key: c96c5f8325cf3efeaab81acd0d16293e | | input scan node ids: 3 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -1242,6 +1263,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> d_week_seq, RF010[bloom] -> d_week_seq | stored statistics: | table: rows=73.05K size=2.17MB @@ -1395,7 +1417,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | Per-Instance Resources: mem-estimate=35.56MB mem-reservation=10.03MB thread-reservation=1 | max-parallelism=60 segment-costs=[563822690, 381229] cpu-comparison-result=60 [max(60 (self) vs 36 (sum children))] | 62:TUPLE CACHE -| | cache key: 5d75d93ad26f68e2ff92c92e4eeeec42 +| | cache key: 6b323fc98800e2a2575d32b5af6b8c7d | | input scan node ids: 10 | | estimated serialized size: 5.13MB | | estimated serialized size per node: 525.54KB @@ -1414,7 +1436,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | in pipelines: 10(GETNEXT) | | | 61:TUPLE CACHE -| | cache key: e0c77b9295431718cb2cd48b3804e041 +| | cache key: f35b8c98e2a7f0648b73e79d24531f22 | | input scan node ids: 10 | | estimated serialized size: 8.21MB | | estimated serialized size per node: 840.87KB @@ -1451,7 +1473,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | | max-parallelism=1 segment-costs=[8424] | | 60:TUPLE CACHE -| | | cache key: 4fa9998713eb1e8c77d9e555bb389d18 +| | | cache key: 44c6aefc728281e46290ae5469acfca8 | | | input scan node ids: 13 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -1501,6 +1523,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | 14:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1513,7 +1536,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | in pipelines: 14(GETNEXT) | | | | | 58:TUPLE CACHE -| | | cache key: 528e3500754c07a15ce8d0aea3582647 +| | | cache key: 69f7b7ea6931727e6d3dc24aca3d5b4a | | | input scan node ids: 13 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -1527,6 +1550,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF027[min_max] -> d_week_seq, RF026[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1610,6 +1634,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF025[min_max] -> cr_item_sk, RF024[bloom] -> cr_item_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -1686,7 +1711,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | | max-parallelism=1 segment-costs=[8424] | | 57:TUPLE CACHE -| | | cache key: cd310a4d5dc8778f8052031d581ec676 +| | | cache key: f19ce056e977fa92ac0269ec7f8913a5 | | | input scan node ids: 23 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -1736,6 +1761,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1748,7 +1774,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | | in pipelines: 24(GETNEXT) | | | | | 55:TUPLE CACHE -| | | cache key: 92bdddee89fa4bd8e45b89c63726ef56 +| | | cache key: 744b53abae58cca63f2aa67c95e08f3b | | | input scan node ids: 23 | | | estimated serialized size: 252B | | | estimated serialized size per node: 252B @@ -1762,6 +1788,7 @@ max-parallelism=10 segment-costs=[636137, 2712566, 167] cpu-comparison-result=21 | | 23:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> d_week_seq, RF018[bloom] -> d_week_seq | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1904,7 +1931,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | Per-Instance Resources: mem-estimate=24.05MB mem-reservation=8.50MB thread-reservation=1 | max-parallelism=1 segment-costs=[8424] | 54:TUPLE CACHE -| | cache key: 6a01866f10efcd430396e50d960f9ce3 +| | cache key: 401964962a0403561e18d0697241ba07 | | input scan node ids: 3 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -1954,6 +1981,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date IN (DATE '1999-04-14', DATE '1999-09-28', DATE '1999-11-12') | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1966,7 +1994,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | | in pipelines: 04(GETNEXT) | | | 52:TUPLE CACHE -| | cache key: c0e8c18850dd573281c6f4bc249c0f1d +| | cache key: c96c5f8325cf3efeaab81acd0d16293e | | input scan node ids: 3 | | estimated serialized size: 252B | | estimated serialized size per node: 252B @@ -1980,6 +2008,7 @@ max-parallelism=120 segment-costs=[1127582378, 758271] cpu-comparison-result=120 | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> d_week_seq, RF010[bloom] -> d_week_seq | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q84.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q84.test index f14d7576c..ae104008c 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q84.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q84.test @@ -71,6 +71,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.income_band] | HDFS partitions=1/1 files=1 size=1.22KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ib_lower_bound >= CAST(55019 AS INT), ib_upper_bound <= CAST(105019 AS INT) | stored statistics: | table: rows=20 size=1.22KB @@ -93,6 +94,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> hd_income_band_sk, RF000[bloom] -> hd_income_band_sk | stored statistics: | table: rows=7.20K size=41.69KB @@ -125,6 +127,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_city = 'Antioch' | stored statistics: | table: rows=15.00M size=307.36MB @@ -147,6 +150,7 @@ PLAN-ROOT SINK |--00:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF003[min_max] -> c_current_hdemo_sk, RF005[min_max] -> c_current_addr_sk, RF002[bloom] -> c_current_hdemo_sk, RF004[bloom] -> c_current_addr_sk | stored statistics: | table: rows=30.00M size=1.55GB @@ -167,6 +171,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | HDFS partitions=1/1 files=1 size=11.15MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> cd_demo_sk, RF006[bloom] -> cd_demo_sk | stored statistics: | table: rows=1.92M size=11.15MB @@ -179,6 +184,7 @@ PLAN-ROOT SINK 05:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] HDFS partitions=2004/2004 files=2004 size=48.14GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF007[min_max] -> tpcds_partitioned_parquet_snap.store_returns.sr_cdemo_sk, RF009[min_max] -> sr_cdemo_sk, RF006[bloom] -> tpcds_partitioned_parquet_snap.store_returns.sr_cdemo_sk, RF008[bloom] -> sr_cdemo_sk stored statistics: table: rows=863.99M size=48.14GB @@ -254,6 +260,7 @@ max-parallelism=620 segment-costs=[6169207281, 199] cpu-comparison-result=240 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.income_band, RANDOM] | HDFS partitions=1/1 files=1 size=1.22KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ib_lower_bound >= CAST(55019 AS INT), ib_upper_bound <= CAST(105019 AS INT) | stored statistics: | table: rows=20 size=1.22KB @@ -342,6 +349,7 @@ max-parallelism=620 segment-costs=[6169207281, 199] cpu-comparison-result=240 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_city = 'Antioch' | stored statistics: | table: rows=15.00M size=307.36MB @@ -513,6 +521,7 @@ max-parallelism=620 segment-costs=[6169207281, 199] cpu-comparison-result=240 [m | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.income_band, RANDOM] | HDFS partitions=1/1 files=1 size=1.22KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ib_lower_bound >= CAST(55019 AS INT), ib_upper_bound <= CAST(105019 AS INT) | stored statistics: | table: rows=20 size=1.22KB @@ -601,6 +610,7 @@ max-parallelism=620 segment-costs=[6169207281, 199] cpu-comparison-result=240 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | HDFS partitions=1/1 files=1 size=307.36MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ca_city = 'Antioch' | stored statistics: | table: rows=15.00M size=307.36MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q85.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q85.test index bba7209ea..69906a1c9 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q85.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q85.test @@ -142,6 +142,7 @@ PLAN-ROOT SINK |--07:SCAN HDFS [tpcds_partitioned_parquet_snap.reason] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=67 size=2.49KB | columns: all @@ -173,6 +174,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page] | HDFS partitions=1/1 files=1 size=72.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=3.60K size=72.76KB | columns: all @@ -216,6 +218,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -292,6 +295,7 @@ PLAN-ROOT SINK | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd2] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd2.cd_marital_status = 'S' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree', cd2.cd_education_status = '2 yr Degree' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree' | | | stored statistics: | | | table: rows=1.92M size=11.15MB @@ -324,6 +328,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd1.cd_marital_status = 'S' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree', cd1.cd_education_status = '2 yr Degree' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree' | | | runtime filters: RF016[min_max] -> cd1.cd_marital_status, RF017[min_max] -> cd1.cd_education_status, RF013[bloom] -> cd1.cd_marital_status, RF014[bloom] -> cd1.cd_education_status | | | stored statistics: @@ -337,6 +342,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | | HDFS partitions=2114/2114 files=2114 size=16.74GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF019[min_max] -> wr_refunded_cdemo_sk, RF015[min_max] -> wr_returning_cdemo_sk, RF001[min_max] -> wr_reason_sk, RF018[bloom] -> wr_refunded_cdemo_sk, RF012[bloom] -> wr_returning_cdemo_sk, RF000[bloom] -> wr_reason_sk | | stored statistics: | | table: rows=216.00M size=16.74GB @@ -362,6 +368,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)) | runtime filters: RF010[min_max] -> ws_item_sk, RF011[min_max] -> ws_order_number, RF003[min_max] -> ws_web_page_sk, RF008[bloom] -> ws_item_sk, RF009[bloom] -> ws_order_number, RF004[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_web_page_sk | stored statistics: @@ -389,6 +396,7 @@ PLAN-ROOT SINK 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] HDFS partitions=1/1 files=1 size=307.36MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ca_state IN ('OK', 'TX', 'MO', 'GA', 'KS', 'NC', 'VA', 'WI', 'WV'), ca_country = 'United States' runtime filters: RF007[min_max] -> ca_address_sk, RF006[bloom] -> ca_address_sk stored statistics: @@ -559,6 +567,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=163 [max(2 | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -676,6 +685,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=163 [max(2 | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd2, RANDOM] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd2.cd_marital_status = 'S' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree', cd2.cd_education_status = '2 yr Degree' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree' | | | stored statistics: | | | table: rows=1.92M size=11.15MB @@ -726,6 +736,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=163 [max(2 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1, RANDOM] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd1.cd_marital_status = 'S' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree', cd1.cd_education_status = '2 yr Degree' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree' | | | runtime filters: RF016[min_max] -> cd1.cd_marital_status, RF017[min_max] -> cd1.cd_education_status, RF013[bloom] -> cd1.cd_marital_status, RF014[bloom] -> cd1.cd_education_status | | | stored statistics: @@ -763,6 +774,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=163 [max(2 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)) | runtime filters: RF010[min_max] -> ws_item_sk, RF011[min_max] -> ws_order_number, RF003[min_max] -> ws_web_page_sk, RF008[bloom] -> ws_item_sk, RF009[bloom] -> ws_order_number, RF004[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_web_page_sk | stored statistics: @@ -799,6 +811,7 @@ max-parallelism=10 segment-costs=[5566700] 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] HDFS partitions=1/1 files=1 size=307.36MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ca_state IN ('OK', 'TX', 'MO', 'GA', 'KS', 'NC', 'VA', 'WI', 'WV'), ca_country = 'United States' runtime filters: RF007[min_max] -> ca_address_sk, RF006[bloom] -> ca_address_sk stored statistics: @@ -969,6 +982,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=173 [max(2 | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year = CAST(2001 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -1073,6 +1087,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=173 [max(2 | | | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd2, RANDOM] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd2.cd_marital_status = 'S' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree', cd2.cd_education_status = '2 yr Degree' OR cd2.cd_marital_status = 'D' AND cd2.cd_education_status = 'Advanced Degree' OR cd2.cd_marital_status = 'W' AND cd2.cd_education_status = '4 yr Degree' | | | stored statistics: | | | table: rows=1.92M size=11.15MB @@ -1123,6 +1138,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=173 [max(2 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics cd1, RANDOM] | | | HDFS partitions=1/1 files=1 size=11.15MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: cd1.cd_marital_status = 'S' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree', cd1.cd_education_status = '2 yr Degree' OR cd1.cd_marital_status = 'D' AND cd1.cd_education_status = 'Advanced Degree' OR cd1.cd_marital_status = 'W' AND cd1.cd_education_status = '4 yr Degree' | | | runtime filters: RF016[min_max] -> cd1.cd_marital_status, RF017[min_max] -> cd1.cd_education_status, RF013[bloom] -> cd1.cd_marital_status, RF014[bloom] -> cd1.cd_education_status | | | stored statistics: @@ -1169,6 +1185,7 @@ max-parallelism=10 segment-costs=[131776, 2419] cpu-comparison-result=173 [max(2 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit <= CAST(200 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit <= CAST(300 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit <= CAST(250 AS DECIMAL(5,0)), ws_net_profit >= CAST(100 AS DECIMAL(3,0)) OR ws_net_profit >= CAST(150 AS DECIMAL(5,0)) OR ws_net_profit >= CAST(50 AS DECIMAL(3,0)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price <= CAST(150.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price <= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price <= CAST(200.00 AS DECIMAL(5,2)), ws_sales_price >= CAST(100.00 AS DECIMAL(5,2)) OR ws_sales_price >= CAST(50.00 AS DECIMAL(4,2)) OR ws_sales_price >= CAST(150.00 AS DECIMAL(5,2)) | runtime filters: RF010[min_max] -> ws_item_sk, RF011[min_max] -> ws_order_number, RF003[min_max] -> ws_web_page_sk, RF008[bloom] -> ws_item_sk, RF009[bloom] -> ws_order_number, RF004[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_web_page_sk | stored statistics: diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q86.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q86.test index 75777b93f..9021d86b4 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q86.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q86.test @@ -126,6 +126,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1191 AS INT), d1.d_month_seq >= CAST(1180 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -148,6 +149,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=360.00K size=33.54MB | columns: all @@ -159,6 +161,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ws_item_sk, RF000[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_item_sk stored statistics: table: rows=2.16G size=145.75GB @@ -313,6 +316,7 @@ max-parallelism=1120 segment-costs=[11163263596, 1265550] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1191 AS INT), d1.d_month_seq >= CAST(1180 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -362,6 +366,7 @@ max-parallelism=1120 segment-costs=[11163263596, 1265550] cpu-comparison-result= 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ws_item_sk, RF000[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_item_sk stored statistics: table: rows=2.16G size=145.75GB @@ -516,6 +521,7 @@ max-parallelism=1120 segment-costs=[11163263596, 1265550] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim d1, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d1.d_month_seq <= CAST(1191 AS INT), d1.d_month_seq >= CAST(1180 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -565,6 +571,7 @@ max-parallelism=1120 segment-costs=[11163263596, 1265550] cpu-comparison-result= 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> ws_item_sk, RF000[bloom] -> ws_sold_date_sk, RF002[bloom] -> ws_item_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q87.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q87.test index 09ca91cbb..3846bc0da 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q87.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q87.test @@ -33,7 +33,7 @@ PLAN-ROOT SINK | mem-estimate=0B mem-reservation=0B thread-reservation=0 cost=0 | 24:TUPLE CACHE -| cache key: 7db40761af81fc24c9e3581dd95e2e9c +| cache key: 7438c351e2675a261b637bd07017f374 | input scan node ids: 0,2,1,6,8,7,12,14,13 | estimated serialized size: 12B | estimated serialized size per node: 1B @@ -85,6 +85,7 @@ PLAN-ROOT SINK | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -107,6 +108,7 @@ PLAN-ROOT SINK | |--14:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=30.00M size=1.55GB | | columns: all @@ -118,6 +120,7 @@ PLAN-ROOT SINK | 12:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> web_sales.ws_bill_customer_sk, RF008[bloom] -> web_sales.ws_sold_date_sk, RF010[bloom] -> web_sales.ws_bill_customer_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -163,6 +166,7 @@ PLAN-ROOT SINK | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -185,6 +189,7 @@ PLAN-ROOT SINK | |--08:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | stored statistics: | | table: rows=30.00M size=1.55GB | | columns: all @@ -196,6 +201,7 @@ PLAN-ROOT SINK | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] | HDFS partitions=1831/1831 files=1831 size=280.96GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> catalog_sales.cs_bill_customer_sk, RF004[bloom] -> catalog_sales.cs_sold_date_sk, RF006[bloom] -> catalog_sales.cs_bill_customer_sk | stored statistics: | table: rows=4.32G size=280.96GB @@ -235,6 +241,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -257,6 +264,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | HDFS partitions=1/1 files=1 size=1.55GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=30.00M size=1.55GB | columns: all @@ -268,6 +276,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF003[min_max] -> store_sales.ss_customer_sk, RF000[bloom] -> store_sales.ss_sold_date_sk, RF002[bloom] -> store_sales.ss_customer_sk stored statistics: table: rows=8.64G size=389.90GB @@ -391,6 +400,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -533,6 +543,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -652,6 +663,7 @@ max-parallelism=1824 segment-costs=[54753163494, 24500370827] cpu-comparison-res | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -822,6 +834,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 13:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -973,6 +986,7 @@ max-parallelism=4920 segment-costs=[49154165112, 7498180101, 123] cpu-comparison | | 07:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1092,6 +1106,7 @@ max-parallelism=1824 segment-costs=[54753163494, 24500370827] cpu-comparison-res | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1215 AS INT), d_month_seq >= CAST(1204 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q88.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q88.test index 1a818770b..c3bf36859 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q88.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q88.test @@ -161,6 +161,7 @@ PLAN-ROOT SINK | | 59:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -195,6 +196,7 @@ PLAN-ROOT SINK | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -227,6 +229,7 @@ PLAN-ROOT SINK | | 58:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(12 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -241,6 +244,7 @@ PLAN-ROOT SINK | 56:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF047[min_max] -> ss_sold_time_sk, RF045[min_max] -> ss_hdemo_sk, RF043[min_max] -> ss_store_sk, RF046[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -309,6 +313,7 @@ PLAN-ROOT SINK | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -343,6 +348,7 @@ PLAN-ROOT SINK | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -375,6 +381,7 @@ PLAN-ROOT SINK | | 50:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -389,6 +396,7 @@ PLAN-ROOT SINK | 48:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF041[min_max] -> ss_sold_time_sk, RF039[min_max] -> ss_hdemo_sk, RF037[min_max] -> ss_store_sk, RF040[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -457,6 +465,7 @@ PLAN-ROOT SINK | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -491,6 +500,7 @@ PLAN-ROOT SINK | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -523,6 +533,7 @@ PLAN-ROOT SINK | | 42:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -537,6 +548,7 @@ PLAN-ROOT SINK | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF035[min_max] -> ss_sold_time_sk, RF033[min_max] -> ss_hdemo_sk, RF031[min_max] -> ss_store_sk, RF034[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -605,6 +617,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -639,6 +652,7 @@ PLAN-ROOT SINK | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -671,6 +685,7 @@ PLAN-ROOT SINK | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -685,6 +700,7 @@ PLAN-ROOT SINK | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF029[min_max] -> ss_sold_time_sk, RF027[min_max] -> ss_hdemo_sk, RF025[min_max] -> ss_store_sk, RF028[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -753,6 +769,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -787,6 +804,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -819,6 +837,7 @@ PLAN-ROOT SINK | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -833,6 +852,7 @@ PLAN-ROOT SINK | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF023[min_max] -> ss_sold_time_sk, RF021[min_max] -> ss_hdemo_sk, RF019[min_max] -> ss_store_sk, RF022[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -913,6 +933,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -947,6 +968,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -979,6 +1001,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -993,6 +1016,7 @@ PLAN-ROOT SINK | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF017[min_max] -> ss_sold_time_sk, RF015[min_max] -> ss_hdemo_sk, RF013[min_max] -> ss_store_sk, RF016[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -1073,6 +1097,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -1107,6 +1132,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -1139,6 +1165,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1153,6 +1180,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ss_sold_time_sk, RF009[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_store_sk, RF010[bloom] -> ss_sold_time_sk, RF008[bloom] -> ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -1216,6 +1244,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -1250,6 +1279,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | stored statistics: | table: rows=7.20K size=41.69KB @@ -1282,6 +1312,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(8 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -1296,6 +1327,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_sold_time_sk, RF003[min_max] -> ss_hdemo_sk, RF001[min_max] -> ss_store_sk, RF004[bloom] -> ss_sold_time_sk, RF002[bloom] -> ss_hdemo_sk stored statistics: table: rows=8.64G size=389.90GB @@ -1409,6 +1441,7 @@ PLAN-ROOT SINK | | 59:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -1460,6 +1493,7 @@ PLAN-ROOT SINK | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -1509,6 +1543,7 @@ PLAN-ROOT SINK | | 58:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(12 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1523,6 +1558,7 @@ PLAN-ROOT SINK | 56:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF047[min_max] -> ss_sold_time_sk, RF045[min_max] -> ss_hdemo_sk, RF043[min_max] -> ss_store_sk, RF046[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -1627,6 +1663,7 @@ PLAN-ROOT SINK | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -1678,6 +1715,7 @@ PLAN-ROOT SINK | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -1727,6 +1765,7 @@ PLAN-ROOT SINK | | 50:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1741,6 +1780,7 @@ PLAN-ROOT SINK | 48:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF041[min_max] -> ss_sold_time_sk, RF039[min_max] -> ss_hdemo_sk, RF037[min_max] -> ss_store_sk, RF040[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -1845,6 +1885,7 @@ PLAN-ROOT SINK | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -1896,6 +1937,7 @@ PLAN-ROOT SINK | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -1945,6 +1987,7 @@ PLAN-ROOT SINK | | 42:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1959,6 +2002,7 @@ PLAN-ROOT SINK | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF035[min_max] -> ss_sold_time_sk, RF033[min_max] -> ss_hdemo_sk, RF031[min_max] -> ss_store_sk, RF034[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -2063,6 +2107,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -2114,6 +2159,7 @@ PLAN-ROOT SINK | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -2163,6 +2209,7 @@ PLAN-ROOT SINK | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -2177,6 +2224,7 @@ PLAN-ROOT SINK | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF029[min_max] -> ss_sold_time_sk, RF027[min_max] -> ss_hdemo_sk, RF025[min_max] -> ss_store_sk, RF028[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -2281,6 +2329,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -2332,6 +2381,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -2381,6 +2431,7 @@ PLAN-ROOT SINK | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -2395,6 +2446,7 @@ PLAN-ROOT SINK | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF023[min_max] -> ss_sold_time_sk, RF021[min_max] -> ss_hdemo_sk, RF019[min_max] -> ss_store_sk, RF022[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -2511,6 +2563,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -2562,6 +2615,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -2611,6 +2665,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -2625,6 +2680,7 @@ PLAN-ROOT SINK | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF017[min_max] -> ss_sold_time_sk, RF015[min_max] -> ss_hdemo_sk, RF013[min_max] -> ss_store_sk, RF016[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -2741,6 +2797,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -2792,6 +2849,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -2841,6 +2899,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -2855,6 +2914,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ss_sold_time_sk, RF009[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_store_sk, RF010[bloom] -> ss_sold_time_sk, RF008[bloom] -> ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -2950,6 +3010,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -3001,6 +3062,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | stored statistics: | table: rows=7.20K size=41.69KB @@ -3050,6 +3112,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(8 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -3064,6 +3127,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_sold_time_sk, RF003[min_max] -> ss_hdemo_sk, RF001[min_max] -> ss_store_sk, RF004[bloom] -> ss_sold_time_sk, RF002[bloom] -> ss_hdemo_sk stored statistics: table: rows=8.64G size=389.90GB @@ -3177,6 +3241,7 @@ PLAN-ROOT SINK | | 59:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -3228,6 +3293,7 @@ PLAN-ROOT SINK | | 57:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -3277,6 +3343,7 @@ PLAN-ROOT SINK | | 58:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(12 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -3291,6 +3358,7 @@ PLAN-ROOT SINK | 56:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF047[min_max] -> ss_sold_time_sk, RF045[min_max] -> ss_hdemo_sk, RF043[min_max] -> ss_store_sk, RF046[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -3395,6 +3463,7 @@ PLAN-ROOT SINK | | 51:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -3446,6 +3515,7 @@ PLAN-ROOT SINK | | 49:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -3495,6 +3565,7 @@ PLAN-ROOT SINK | | 50:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -3509,6 +3580,7 @@ PLAN-ROOT SINK | 48:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF041[min_max] -> ss_sold_time_sk, RF039[min_max] -> ss_hdemo_sk, RF037[min_max] -> ss_store_sk, RF040[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -3613,6 +3685,7 @@ PLAN-ROOT SINK | | 43:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -3664,6 +3737,7 @@ PLAN-ROOT SINK | | 41:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -3713,6 +3787,7 @@ PLAN-ROOT SINK | | 42:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(11 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -3727,6 +3802,7 @@ PLAN-ROOT SINK | 40:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF035[min_max] -> ss_sold_time_sk, RF033[min_max] -> ss_hdemo_sk, RF031[min_max] -> ss_store_sk, RF034[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -3831,6 +3907,7 @@ PLAN-ROOT SINK | | 35:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -3882,6 +3959,7 @@ PLAN-ROOT SINK | | 33:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -3931,6 +4009,7 @@ PLAN-ROOT SINK | | 34:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -3945,6 +4024,7 @@ PLAN-ROOT SINK | 32:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF029[min_max] -> ss_sold_time_sk, RF027[min_max] -> ss_hdemo_sk, RF025[min_max] -> ss_store_sk, RF028[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -4049,6 +4129,7 @@ PLAN-ROOT SINK | | 27:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -4100,6 +4181,7 @@ PLAN-ROOT SINK | | 25:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -4149,6 +4231,7 @@ PLAN-ROOT SINK | | 26:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(10 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -4163,6 +4246,7 @@ PLAN-ROOT SINK | 24:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF023[min_max] -> ss_sold_time_sk, RF021[min_max] -> ss_hdemo_sk, RF019[min_max] -> ss_store_sk, RF022[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -4279,6 +4363,7 @@ PLAN-ROOT SINK | | 19:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -4330,6 +4415,7 @@ PLAN-ROOT SINK | | 17:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -4379,6 +4465,7 @@ PLAN-ROOT SINK | | 18:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute >= CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -4393,6 +4480,7 @@ PLAN-ROOT SINK | 16:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF017[min_max] -> ss_sold_time_sk, RF015[min_max] -> ss_hdemo_sk, RF013[min_max] -> ss_store_sk, RF016[bloom] -> ss_sold_time_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -4509,6 +4597,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | | HDFS partitions=1/1 files=1 size=119.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: store.s_store_name = 'ese' | | stored statistics: | | table: rows=1.35K size=119.76KB @@ -4560,6 +4649,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -4609,6 +4699,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour = CAST(9 AS INT), time_dim.t_minute < CAST(30 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -4623,6 +4714,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=389.90GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ss_sold_time_sk, RF009[min_max] -> ss_hdemo_sk, RF007[min_max] -> ss_store_sk, RF010[bloom] -> ss_sold_time_sk, RF008[bloom] -> ss_hdemo_sk | stored statistics: | table: rows=8.64G size=389.90GB @@ -4718,6 +4810,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -4769,6 +4862,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((household_demographics.hd_dep_count = CAST(1 AS INT) AND household_demographics.hd_vehicle_count <= CAST(3 AS INT)) OR (household_demographics.hd_dep_count = CAST(2 AS INT) AND household_demographics.hd_vehicle_count <= CAST(4 AS INT)) OR (household_demographics.hd_dep_count = CAST(0 AS INT) AND household_demographics.hd_vehicle_count <= CAST(2 AS INT))) | stored statistics: | table: rows=7.20K size=41.69KB @@ -4818,6 +4912,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(8 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -4832,6 +4927,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ss_sold_time_sk, RF003[min_max] -> ss_hdemo_sk, RF001[min_max] -> ss_store_sk, RF004[bloom] -> ss_sold_time_sk, RF002[bloom] -> ss_hdemo_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q89.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q89.test index 1a644f31b..9664f6519 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q89.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q89.test @@ -110,6 +110,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year IN (CAST(2001 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -144,6 +145,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Women', 'Music', 'Home') AND i_class IN ('fragrances', 'pop', 'bedding')) OR (i_category IN ('Books', 'Men', 'Children') AND i_class IN ('home repair', 'sports-apparel', 'infants'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -168,6 +170,7 @@ PLAN-ROOT SINK 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -320,6 +323,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year IN (CAST(2001 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -371,6 +375,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Women', 'Music', 'Home') AND i_class IN ('fragrances', 'pop', 'bedding')) OR (i_category IN ('Books', 'Men', 'Children') AND i_class IN ('home repair', 'sports-apparel', 'infants'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -395,6 +400,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB @@ -547,6 +553,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_year IN (CAST(2001 AS INT)) | stored statistics: | table: rows=73.05K size=2.17MB @@ -598,6 +605,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: ((i_category IN ('Women', 'Music', 'Home') AND i_class IN ('fragrances', 'pop', 'bedding')) OR (i_category IN ('Books', 'Men', 'Children') AND i_class IN ('home repair', 'sports-apparel', 'infants'))) | stored statistics: | table: rows=360.00K size=33.54MB @@ -622,6 +630,7 @@ max-parallelism=70 segment-costs=[660247863, 265111122] cpu-comparison-result=70 01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF005[min_max] -> ss_item_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_sold_date_sk, RF004[bloom] -> ss_item_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q90.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q90.test index 3a8b616e5..d4373eb77 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q90.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q90.test @@ -39,7 +39,7 @@ PLAN-ROOT SINK | in pipelines: 17(GETNEXT), 07(OPEN) | 29:TUPLE CACHE -| cache key: b4d642592b440004e2b8fd5c13412a2e +| cache key: a0265ee2705e61195b82c598245fbf6e | input scan node ids: 0,1,3,2,8,9,11,10 | estimated serialized size: 24B | estimated serialized size per node: 2B @@ -56,7 +56,7 @@ PLAN-ROOT SINK | in pipelines: 07(GETNEXT), 15(OPEN) | |--28:TUPLE CACHE -| | cache key: 1a90f828ab12bc110f18128d90bb247e +| | cache key: f868e824096f30dddcb114402f5d1b61 | | input scan node ids: 8,9,11,10 | | estimated serialized size: 12B | | estimated serialized size per node: 1B @@ -74,7 +74,7 @@ PLAN-ROOT SINK | | in pipelines: 15(GETNEXT), 08(OPEN) | | | 27:TUPLE CACHE -| | cache key: c73041144ecb0cd2339a9964da7fc9db +| | cache key: 8e4d49da2cbd3f4770caed3f6185529f | | input scan node ids: 8,9,11,10 | | estimated serialized size: 102.49MB | | estimated serialized size per node: 10.25MB @@ -108,6 +108,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour <= CAST(20 AS INT), time_dim.t_hour >= CAST(19 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -142,6 +143,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page] | | HDFS partitions=1/1 files=1 size=72.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | | stored statistics: | | table: rows=3.60K size=72.76KB @@ -176,6 +178,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -190,6 +193,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ws_ship_hdemo_sk, RF009[min_max] -> ws_web_page_sk, RF007[min_max] -> ws_sold_time_sk, RF010[bloom] -> ws_ship_hdemo_sk, RF008[bloom] -> ws_web_page_sk, RF006[bloom] -> ws_sold_time_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -201,7 +205,7 @@ PLAN-ROOT SINK | in pipelines: 08(GETNEXT) | 23:TUPLE CACHE -| cache key: abeda1291bb5911558905b9f948f19a5 +| cache key: 120de5b16227d9997153c9a86ee283f8 | input scan node ids: 0,1,3,2 | estimated serialized size: 12B | estimated serialized size per node: 1B @@ -219,7 +223,7 @@ PLAN-ROOT SINK | in pipelines: 07(GETNEXT), 00(OPEN) | 22:TUPLE CACHE -| cache key: 3e937e3f2c740979d8555d7bbe5e0888 +| cache key: 525a143fbf1ca5e827ee273767d68c5d | input scan node ids: 0,1,3,2 | estimated serialized size: 102.49MB | estimated serialized size per node: 10.25MB @@ -253,6 +257,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour <= CAST(9 AS INT), time_dim.t_hour >= CAST(8 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -265,7 +270,7 @@ PLAN-ROOT SINK | in pipelines: 02(GETNEXT) | 20:TUPLE CACHE -| cache key: 90e643325a73cfc3a44554f9e0d214f9 +| cache key: 3de797b2c14c9f93618d496c4e8cd474 | input scan node ids: 0,1,3 | estimated serialized size: 790.68MB | estimated serialized size per node: 79.07MB @@ -299,6 +304,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page] | HDFS partitions=1/1 files=1 size=72.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | stored statistics: | table: rows=3.60K size=72.76KB @@ -333,6 +339,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -347,6 +354,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ws_ship_hdemo_sk, RF003[min_max] -> ws_web_page_sk, RF001[min_max] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_hdemo_sk, RF002[bloom] -> ws_web_page_sk, RF000[bloom] -> ws_sold_time_sk stored statistics: table: rows=2.16G size=145.75GB @@ -410,7 +418,7 @@ PLAN-ROOT SINK | Per-Instance Resources: mem-estimate=24.02MB mem-reservation=8.12MB thread-reservation=1 | max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max(60 (self) vs 33 (sum children))] | 39:TUPLE CACHE -| | cache key: c213ab86c8109b60f6108c6e76e7044c +| | cache key: 123889e08a4e30306e555f7e75b70242 | | input scan node ids: 8 | | estimated serialized size: 1.41KB | | estimated serialized size per node: 144B @@ -428,7 +436,7 @@ PLAN-ROOT SINK | | in pipelines: 15(GETNEXT), 08(OPEN) | | | 38:TUPLE CACHE -| | cache key: b623249dee41b02408bcfad19ca91443 +| | cache key: 10c01207764797896199e2ea09733ba2 | | input scan node ids: 8 | | estimated serialized size: 102.49MB | | estimated serialized size per node: 10.25MB @@ -479,6 +487,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour <= CAST(20 AS INT), time_dim.t_hour >= CAST(19 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -530,6 +539,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page, RANDOM] | | HDFS partitions=1/1 files=1 size=72.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | | stored statistics: | | table: rows=3.60K size=72.76KB @@ -581,6 +591,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -595,6 +606,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ws_ship_hdemo_sk, RF009[min_max] -> ws_web_page_sk, RF007[min_max] -> ws_sold_time_sk, RF010[bloom] -> ws_ship_hdemo_sk, RF008[bloom] -> ws_web_page_sk, RF006[bloom] -> ws_sold_time_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -621,7 +633,7 @@ Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-res Per-Instance Resources: mem-estimate=28.02MB mem-reservation=12.12MB thread-reservation=1 max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max(60 (self) vs 33 (sum children))] 34:TUPLE CACHE -| cache key: 8aa8d141228519599863d43da5568ce4 +| cache key: 1a4c799925bb20904d68097bf2ea5cb8 | input scan node ids: 0 | estimated serialized size: 1.41KB | estimated serialized size per node: 144B @@ -639,7 +651,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | in pipelines: 07(GETNEXT), 00(OPEN) | 33:TUPLE CACHE -| cache key: d78f92ea67142c5adf1b2fa912b6df42 +| cache key: 0ee2a906dfd0d028166f5f352298a928 | input scan node ids: 0 | estimated serialized size: 102.49MB | estimated serialized size per node: 10.25MB @@ -690,6 +702,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour <= CAST(9 AS INT), time_dim.t_hour >= CAST(8 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -702,7 +715,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | in pipelines: 02(GETNEXT) | 31:TUPLE CACHE -| cache key: 3d581458bd5e0717a8afccf6e933d4f0 +| cache key: f8e3ef81108a359cc1ecb3d3774a887e | input scan node ids: 0 | estimated serialized size: 790.68MB | estimated serialized size per node: 79.07MB @@ -753,6 +766,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page, RANDOM] | HDFS partitions=1/1 files=1 size=72.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | stored statistics: | table: rows=3.60K size=72.76KB @@ -804,6 +818,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -818,6 +833,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ws_ship_hdemo_sk, RF003[min_max] -> ws_web_page_sk, RF001[min_max] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_hdemo_sk, RF002[bloom] -> ws_web_page_sk, RF000[bloom] -> ws_sold_time_sk stored statistics: table: rows=2.16G size=145.75GB @@ -881,7 +897,7 @@ PLAN-ROOT SINK | Per-Instance Resources: mem-estimate=24.02MB mem-reservation=8.12MB thread-reservation=1 | max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max(60 (self) vs 33 (sum children))] | 39:TUPLE CACHE -| | cache key: c213ab86c8109b60f6108c6e76e7044c +| | cache key: 123889e08a4e30306e555f7e75b70242 | | input scan node ids: 8 | | estimated serialized size: 1.41KB | | estimated serialized size per node: 144B @@ -899,7 +915,7 @@ PLAN-ROOT SINK | | in pipelines: 15(GETNEXT), 08(OPEN) | | | 38:TUPLE CACHE -| | cache key: b623249dee41b02408bcfad19ca91443 +| | cache key: 10c01207764797896199e2ea09733ba2 | | input scan node ids: 8 | | estimated serialized size: 102.49MB | | estimated serialized size per node: 10.25MB @@ -950,6 +966,7 @@ PLAN-ROOT SINK | | 10:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=1.31MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: time_dim.t_hour <= CAST(20 AS INT), time_dim.t_hour >= CAST(19 AS INT) | | stored statistics: | | table: rows=86.40K size=1.31MB @@ -1001,6 +1018,7 @@ PLAN-ROOT SINK | | 11:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page, RANDOM] | | HDFS partitions=1/1 files=1 size=72.76KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | | stored statistics: | | table: rows=3.60K size=72.76KB @@ -1052,6 +1070,7 @@ PLAN-ROOT SINK | | 09:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -1066,6 +1085,7 @@ PLAN-ROOT SINK | 08:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF011[min_max] -> ws_ship_hdemo_sk, RF009[min_max] -> ws_web_page_sk, RF007[min_max] -> ws_sold_time_sk, RF010[bloom] -> ws_ship_hdemo_sk, RF008[bloom] -> ws_web_page_sk, RF006[bloom] -> ws_sold_time_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -1092,7 +1112,7 @@ Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-res Per-Instance Resources: mem-estimate=28.02MB mem-reservation=12.12MB thread-reservation=1 max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max(60 (self) vs 33 (sum children))] 34:TUPLE CACHE -| cache key: 8aa8d141228519599863d43da5568ce4 +| cache key: 1a4c799925bb20904d68097bf2ea5cb8 | input scan node ids: 0 | estimated serialized size: 1.41KB | estimated serialized size per node: 144B @@ -1110,7 +1130,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | in pipelines: 07(GETNEXT), 00(OPEN) | 33:TUPLE CACHE -| cache key: d78f92ea67142c5adf1b2fa912b6df42 +| cache key: 0ee2a906dfd0d028166f5f352298a928 | input scan node ids: 0 | estimated serialized size: 102.49MB | estimated serialized size per node: 10.25MB @@ -1161,6 +1181,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour <= CAST(9 AS INT), time_dim.t_hour >= CAST(8 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -1173,7 +1194,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | in pipelines: 02(GETNEXT) | 31:TUPLE CACHE -| cache key: 3d581458bd5e0717a8afccf6e933d4f0 +| cache key: f8e3ef81108a359cc1ecb3d3774a887e | input scan node ids: 0 | estimated serialized size: 790.68MB | estimated serialized size per node: 79.07MB @@ -1224,6 +1245,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_page, RANDOM] | HDFS partitions=1/1 files=1 size=72.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: web_page.wp_char_count <= CAST(5200 AS INT), web_page.wp_char_count >= CAST(5000 AS INT) | stored statistics: | table: rows=3.60K size=72.76KB @@ -1275,6 +1297,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -1289,6 +1312,7 @@ max-parallelism=60 segment-costs=[529201061, 123] cpu-comparison-result=60 [max( 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF005[min_max] -> ws_ship_hdemo_sk, RF003[min_max] -> ws_web_page_sk, RF001[min_max] -> ws_sold_time_sk, RF004[bloom] -> ws_ship_hdemo_sk, RF002[bloom] -> ws_web_page_sk, RF000[bloom] -> ws_sold_time_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q91.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q91.test index f5970beef..17324266e 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q91.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q91.test @@ -100,6 +100,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center] | HDFS partitions=1/1 files=1 size=16.57KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=48 size=16.57KB | columns: all @@ -163,6 +164,7 @@ PLAN-ROOT SINK | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: hd_buy_potential LIKE '5001-10000%' | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -208,6 +210,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree')) | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -228,6 +231,7 @@ PLAN-ROOT SINK | |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.customer] | | HDFS partitions=1/1 files=1 size=1.55GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF007[min_max] -> c_current_cdemo_sk, RF005[min_max] -> c_current_hdemo_sk, RF006[bloom] -> c_current_cdemo_sk, RF004[bloom] -> c_current_hdemo_sk | | stored statistics: | | table: rows=30.00M size=1.55GB @@ -272,6 +276,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -286,6 +291,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> cr_returning_customer_sk, RF001[min_max] -> cr_call_center_sk, RF010[bloom] -> cr_returned_date_sk, RF008[bloom] -> cr_returning_customer_sk, RF000[bloom] -> cr_call_center_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -311,6 +317,7 @@ PLAN-ROOT SINK 04:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] HDFS partitions=1/1 files=1 size=307.36MB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true predicates: ca_gmt_offset = CAST(-6 AS DECIMAL(3,0)) runtime filters: RF003[min_max] -> ca_address_sk, RF002[bloom] -> ca_address_sk stored statistics: @@ -409,6 +416,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center, RANDOM] | HDFS partitions=1/1 files=1 size=16.57KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=48 size=16.57KB | columns: all @@ -482,6 +490,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: hd_buy_potential LIKE '5001-10000%' | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -532,6 +541,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree')) | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -639,6 +649,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -653,6 +664,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> cr_returning_customer_sk, RF001[min_max] -> cr_call_center_sk, RF010[bloom] -> cr_returned_date_sk, RF008[bloom] -> cr_returning_customer_sk, RF000[bloom] -> cr_call_center_sk | stored statistics: | table: rows=432.02M size=32.77GB @@ -772,6 +784,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center, RANDOM] | HDFS partitions=1/1 files=1 size=16.57KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=48 size=16.57KB | columns: all @@ -845,6 +858,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 06:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=41.69KB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: hd_buy_potential LIKE '5001-10000%' | | stored statistics: | | table: rows=7.20K size=41.69KB @@ -895,6 +909,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_demographics, RANDOM] | | HDFS partitions=1/1 files=1 size=11.15MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree')) | | stored statistics: | | table: rows=1.92M size=11.15MB @@ -1002,6 +1017,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_year = CAST(2002 AS INT), d_moy = CAST(11 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -1016,6 +1032,7 @@ max-parallelism=10 segment-costs=[140486, 104446] cpu-comparison-result=73 [max( | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_returns, RANDOM] | HDFS partitions=2060/2060 files=2060 size=32.77GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF009[min_max] -> cr_returning_customer_sk, RF001[min_max] -> cr_call_center_sk, RF010[bloom] -> cr_returned_date_sk, RF008[bloom] -> cr_returning_customer_sk, RF000[bloom] -> cr_call_center_sk | stored statistics: | table: rows=432.02M size=32.77GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q92.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q92.test index 8ac0a73cd..1fbe925d1 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q92.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q92.test @@ -46,7 +46,7 @@ PLAN-ROOT SINK | in pipelines: 11(GETNEXT), 10(OPEN) | 20:TUPLE CACHE -| cache key: 8e7eb398b3636c824e6b8000f70236e0 +| cache key: 0e7e0aaae7205826485170eb20ea8325 | input scan node ids: 3,4,0,1,2 | estimated serialized size: 20B | estimated serialized size per node: 2B @@ -64,7 +64,7 @@ PLAN-ROOT SINK | in pipelines: 10(GETNEXT), 06(OPEN) | 19:TUPLE CACHE -| cache key: f6706d66a87533e6eb379955e4e2a480 +| cache key: ac1fe93613486f39d47cf092aef05a54 | input scan node ids: 3,4,0,1,2 | estimated serialized size: 4.28MB | estimated serialized size per node: 438.27KB @@ -84,7 +84,7 @@ PLAN-ROOT SINK | in pipelines: 06(GETNEXT), 00(OPEN) | |--18:TUPLE CACHE -| | cache key: 00d142924f1968678e539ebd246fdd6f +| | cache key: 378f83c8dc22e91834a21a751cc99fd4 | | input scan node ids: 0,1,2 | | estimated serialized size: 4.28MB | | estimated serialized size per node: 438.27KB @@ -118,6 +118,7 @@ PLAN-ROOT SINK | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -130,7 +131,7 @@ PLAN-ROOT SINK | | in pipelines: 02(GETNEXT) | | | 16:TUPLE CACHE -| | cache key: 4858dc4caf783c923cdfea4f049cca4b +| | cache key: a66f8c9a6d9b683b0739b2140b0048e7 | | input scan node ids: 0,1 | | estimated serialized size: 3.00MB | | estimated serialized size per node: 306.79KB @@ -164,6 +165,7 @@ PLAN-ROOT SINK | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_manufact_id = CAST(561 AS INT) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -176,7 +178,7 @@ PLAN-ROOT SINK | | in pipelines: 01(GETNEXT) | | | 14:TUPLE CACHE -| | cache key: 449b3f7c3998c1f4fe00f5f0a045d602 +| | cache key: c378531bdeaa54c734fc6169a9d61c20 | | input scan node ids: 0 | | estimated serialized size: 1.71MB | | estimated serialized size per node: 175.31KB @@ -190,6 +192,7 @@ PLAN-ROOT SINK | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -201,7 +204,7 @@ PLAN-ROOT SINK | in pipelines: 00(GETNEXT) | 13:TUPLE CACHE -| cache key: b0919684c87ee031da28a28e9f06938a +| cache key: bac00f35118c6830d903b5bdf3db7c62 | input scan node ids: 3,4 | estimated serialized size: 5.50MB | estimated serialized size per node: 562.78KB @@ -242,6 +245,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | stored statistics: | table: rows=73.05K size=2.17MB @@ -256,6 +260,7 @@ PLAN-ROOT SINK 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF002[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -328,7 +333,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | Per-Instance Resources: mem-estimate=29.56MB mem-reservation=12.12MB thread-reservation=1 | max-parallelism=10 segment-costs=[19482294] | 26:TUPLE CACHE -| | cache key: 0f8c6af99770ac400994772d641f2338 +| | cache key: c38d5331f3dc2439659cffe5474ca752 | | input scan node ids: 0 | | estimated serialized size: 4.28MB | | estimated serialized size per node: 438.27KB @@ -379,6 +384,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -391,7 +397,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | in pipelines: 02(GETNEXT) | | | 24:TUPLE CACHE -| | cache key: 23bce407c5b0f98a1450ed0870afd533 +| | cache key: fdf423733df71f1cbf5879345aa3eb97 | | input scan node ids: 0 | | estimated serialized size: 3.00MB | | estimated serialized size per node: 306.79KB @@ -442,6 +448,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_manufact_id = CAST(561 AS INT) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -454,7 +461,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | in pipelines: 01(GETNEXT) | | | 22:TUPLE CACHE -| | cache key: 4c638466681435c8b2184747d69b3da4 +| | cache key: d5fb87dbbe8e1763952f15b2b4200ac3 | | input scan node ids: 0 | | estimated serialized size: 1.71MB | | estimated serialized size per node: 175.31KB @@ -468,6 +475,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -495,7 +503,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=37.62MB mem-reservation=21.12MB thread-reservation=1 max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 [max(30 (self) vs 11 (sum children))] 21:TUPLE CACHE -| cache key: 5975a39ce2df4b390e45f569f601b31a +| cache key: 0ac59969bd0cff5451a303b3e13de2a3 | input scan node ids: 3 | estimated serialized size: 605.01MB | estimated serialized size per node: 60.50MB @@ -553,6 +561,7 @@ max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | stored statistics: | table: rows=73.05K size=2.17MB @@ -567,6 +576,7 @@ max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF002[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB @@ -639,7 +649,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | Per-Instance Resources: mem-estimate=29.56MB mem-reservation=12.12MB thread-reservation=1 | max-parallelism=10 segment-costs=[19482294] | 26:TUPLE CACHE -| | cache key: 0f8c6af99770ac400994772d641f2338 +| | cache key: c38d5331f3dc2439659cffe5474ca752 | | input scan node ids: 0 | | estimated serialized size: 4.28MB | | estimated serialized size per node: 438.27KB @@ -690,6 +700,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -702,7 +713,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | in pipelines: 02(GETNEXT) | | | 24:TUPLE CACHE -| | cache key: 23bce407c5b0f98a1450ed0870afd533 +| | cache key: fdf423733df71f1cbf5879345aa3eb97 | | input scan node ids: 0 | | estimated serialized size: 3.00MB | | estimated serialized size per node: 306.79KB @@ -753,6 +764,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | | HDFS partitions=1/1 files=1 size=33.54MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: i_manufact_id = CAST(561 AS INT) | | stored statistics: | | table: rows=360.00K size=33.54MB @@ -765,7 +777,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | | in pipelines: 01(GETNEXT) | | | 22:TUPLE CACHE -| | cache key: 4c638466681435c8b2184747d69b3da4 +| | cache key: d5fb87dbbe8e1763952f15b2b4200ac3 | | input scan node ids: 0 | | estimated serialized size: 1.71MB | | estimated serialized size per node: 175.31KB @@ -779,6 +791,7 @@ max-parallelism=10 segment-costs=[19130388, 120569, 185] cpu-comparison-result=5 | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> ws_item_sk, RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_sk | stored statistics: | table: rows=2.16G size=145.75GB @@ -806,7 +819,7 @@ Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-res Per-Instance Resources: mem-estimate=37.62MB mem-reservation=21.12MB thread-reservation=1 max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 [max(30 (self) vs 11 (sum children))] 21:TUPLE CACHE -| cache key: 5975a39ce2df4b390e45f569f601b31a +| cache key: 0ac59969bd0cff5451a303b3e13de2a3 | input scan node ids: 3 | estimated serialized size: 605.01MB | estimated serialized size per node: 60.50MB @@ -864,6 +877,7 @@ max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-06-11', d_date >= DATE '2001-03-13' | stored statistics: | table: rows=73.05K size=2.17MB @@ -878,6 +892,7 @@ max-parallelism=30 segment-costs=[200683645, 51068942] cpu-comparison-result=30 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_sales.ws_item_sk, RF002[bloom] -> ws_sold_date_sk stored statistics: table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q93.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q93.test index cbbb5d746..68e5df30d 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q93.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q93.test @@ -75,6 +75,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.reason] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_desc = 'reason 64' | stored statistics: | table: rows=67 size=2.49KB @@ -96,6 +97,7 @@ PLAN-ROOT SINK |--01:SCAN HDFS [tpcds_partitioned_parquet_snap.store_returns] | HDFS partitions=2004/2004 files=2004 size=48.14GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> sr_reason_sk, RF000[bloom] -> sr_reason_sk | stored statistics: | table: rows=863.99M size=48.14GB @@ -109,6 +111,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=8.64G size=389.90GB partitions: 1824/1824 rows=8.64G @@ -205,6 +208,7 @@ max-parallelism=830 segment-costs=[8297732700, 225439237] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.reason, RANDOM] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_desc = 'reason 64' | stored statistics: | table: rows=67 size=2.49KB @@ -359,6 +363,7 @@ max-parallelism=830 segment-costs=[8297732700, 225439237] cpu-comparison-result= | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.reason, RANDOM] | HDFS partitions=1/1 files=1 size=2.49KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: r_reason_desc = 'reason 64' | stored statistics: | table: rows=67 size=2.49KB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q94.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q94.test index 61624d5e3..5b5e85d58 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q94.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q94.test @@ -154,6 +154,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -200,6 +201,7 @@ PLAN-ROOT SINK | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-06-30', d_date >= DATE '2001-05-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -234,6 +236,7 @@ PLAN-ROOT SINK | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TX' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -248,6 +251,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> ws1.ws_web_site_sk, RF005[min_max] -> ws1.ws_ship_date_sk, RF007[min_max] -> ws1.ws_ship_addr_sk, RF002[bloom] -> ws1.ws_web_site_sk, RF004[bloom] -> ws1.ws_ship_date_sk, RF006[bloom] -> ws1.ws_ship_addr_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -261,6 +265,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws2] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> ws2.ws_order_number, RF000[bloom] -> ws2.ws_order_number | stored statistics: | table: rows=2.16G size=145.75GB @@ -274,6 +279,7 @@ PLAN-ROOT SINK 05:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns wr1] HDFS partitions=2114/2114 files=2114 size=16.74GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true stored statistics: table: rows=216.00M size=16.74GB partitions: 2114/2114 rows=216.00M @@ -418,6 +424,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site, RANDOM] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -481,6 +488,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-06-30', d_date >= DATE '2001-05-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -532,6 +540,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TX' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -546,6 +555,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> ws1.ws_web_site_sk, RF005[min_max] -> ws1.ws_ship_date_sk, RF007[min_max] -> ws1.ws_ship_addr_sk, RF002[bloom] -> ws1.ws_web_site_sk, RF004[bloom] -> ws1.ws_ship_date_sk, RF006[bloom] -> ws1.ws_ship_addr_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -731,6 +741,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site, RANDOM] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -794,6 +805,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2001-06-30', d_date >= DATE '2001-05-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -845,6 +857,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TX' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -859,6 +872,7 @@ max-parallelism=10 segment-costs=[87996754, 43005, 3] cpu-comparison-result=130 | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF003[min_max] -> ws1.ws_web_site_sk, RF005[min_max] -> ws1.ws_ship_date_sk, RF007[min_max] -> ws1.ws_ship_addr_sk, RF002[bloom] -> ws1.ws_web_site_sk, RF004[bloom] -> ws1.ws_ship_date_sk, RF006[bloom] -> ws1.ws_ship_addr_sk | | stored statistics: | | table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q95.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q95.test index 54afde987..8d6e35865 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q95.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q95.test @@ -157,6 +157,7 @@ PLAN-ROOT SINK | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -203,6 +204,7 @@ PLAN-ROOT SINK | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2000-04-30', d_date >= DATE '2000-03-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -237,6 +239,7 @@ PLAN-ROOT SINK | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TN' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -251,6 +254,7 @@ PLAN-ROOT SINK | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> ws1.ws_ship_addr_sk, RF013[min_max] -> ws1.ws_ship_date_sk, RF011[min_max] -> ws1.ws_web_site_sk, RF014[bloom] -> ws1.ws_ship_addr_sk, RF012[bloom] -> ws1.ws_ship_date_sk, RF010[bloom] -> ws1.ws_web_site_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -279,6 +283,7 @@ PLAN-ROOT SINK | |--05:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws2] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF007[min_max] -> ws2.ws_order_number, RF006[bloom] -> ws2.ws_order_number | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -292,6 +297,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF007[min_max] -> ws1.ws_order_number, RF009[min_max] -> ws1.ws_order_number, RF006[bloom] -> ws1.ws_order_number, RF008[bloom] -> ws1.ws_order_number | stored statistics: | table: rows=2.16G size=145.75GB @@ -319,6 +325,7 @@ PLAN-ROOT SINK |--07:SCAN HDFS [tpcds_partitioned_parquet_snap.web_returns] | HDFS partitions=2114/2114 files=2114 size=16.74GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> tpcds_partitioned_parquet_snap.web_returns.wr_order_number, RF000[bloom] -> tpcds_partitioned_parquet_snap.web_returns.wr_order_number | stored statistics: | table: rows=216.00M size=16.74GB @@ -341,6 +348,7 @@ PLAN-ROOT SINK |--09:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws2] | HDFS partitions=1824/1824 files=1824 size=145.75GB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | runtime filters: RF001[min_max] -> ws2.ws_order_number, RF003[min_max] -> ws2.ws_order_number, RF000[bloom] -> ws2.ws_order_number, RF002[bloom] -> ws2.ws_order_number | stored statistics: | table: rows=2.16G size=145.75GB @@ -354,6 +362,7 @@ PLAN-ROOT SINK 08:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1] HDFS partitions=1824/1824 files=1824 size=145.75GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ws1.ws_order_number, RF003[min_max] -> ws1.ws_order_number, RF005[min_max] -> ws1.ws_order_number, RF000[bloom] -> ws1.ws_order_number, RF002[bloom] -> ws1.ws_order_number, RF004[bloom] -> ws1.ws_order_number stored statistics: table: rows=2.16G size=145.75GB @@ -499,6 +508,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site, RANDOM] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -562,6 +572,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2000-04-30', d_date >= DATE '2000-03-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -613,6 +624,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TN' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -627,6 +639,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> ws1.ws_ship_addr_sk, RF013[min_max] -> ws1.ws_ship_date_sk, RF011[min_max] -> ws1.ws_web_site_sk, RF014[bloom] -> ws1.ws_ship_addr_sk, RF012[bloom] -> ws1.ws_ship_date_sk, RF010[bloom] -> ws1.ws_web_site_sk | | stored statistics: | | table: rows=2.16G size=145.75GB @@ -942,6 +955,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.web_site, RANDOM] | | | HDFS partitions=1/1 files=1 size=17.88KB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: web_company_name = 'pri' | | | stored statistics: | | | table: rows=66 size=17.88KB @@ -1005,6 +1019,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | | HDFS partitions=1/1 files=1 size=2.17MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: d_date <= DATE '2000-04-30', d_date >= DATE '2000-03-01' | | | stored statistics: | | | table: rows=73.05K size=2.17MB @@ -1056,6 +1071,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.customer_address, RANDOM] | | | HDFS partitions=1/1 files=1 size=307.36MB | | | deterministic scan range assignment: true +| | | schedule scan ranges oldest to newest: true | | | predicates: ca_state = 'TN' | | | stored statistics: | | | table: rows=15.00M size=307.36MB @@ -1070,6 +1086,7 @@ max-parallelism=2820 segment-costs=[28173502000, 32755414, 43005, 3] cpu-compari | | 00:SCAN HDFS [tpcds_partitioned_parquet_snap.web_sales ws1, RANDOM] | | HDFS partitions=1824/1824 files=1824 size=145.75GB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | runtime filters: RF015[min_max] -> ws1.ws_ship_addr_sk, RF013[min_max] -> ws1.ws_ship_date_sk, RF011[min_max] -> ws1.ws_web_site_sk, RF014[bloom] -> ws1.ws_ship_addr_sk, RF012[bloom] -> ws1.ws_ship_date_sk, RF010[bloom] -> ws1.ws_web_site_sk | | stored statistics: | | table: rows=2.16G size=145.75GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q96.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q96.test index 71702f752..bf5239504 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q96.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q96.test @@ -84,6 +84,7 @@ PLAN-ROOT SINK | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -118,6 +119,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -152,6 +154,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(16 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -166,6 +169,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF005[min_max] -> ss_sold_time_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_time_sk stored statistics: table: rows=8.64G size=389.90GB @@ -276,6 +280,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -327,6 +332,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -378,6 +384,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(16 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -392,6 +399,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF005[min_max] -> ss_sold_time_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_time_sk stored statistics: table: rows=8.64G size=389.90GB @@ -502,6 +510,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 03:SCAN HDFS [tpcds_partitioned_parquet_snap.store, RANDOM] | HDFS partitions=1/1 files=1 size=119.76KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: store.s_store_name = 'ese' | stored statistics: | table: rows=1.35K size=119.76KB @@ -553,6 +562,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.household_demographics, RANDOM] | HDFS partitions=1/1 files=1 size=41.69KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: household_demographics.hd_dep_count = CAST(4 AS INT) | stored statistics: | table: rows=7.20K size=41.69KB @@ -604,6 +614,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.time_dim, RANDOM] | HDFS partitions=1/1 files=1 size=1.31MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: time_dim.t_hour = CAST(16 AS INT), time_dim.t_minute >= CAST(30 AS INT) | stored statistics: | table: rows=86.40K size=1.31MB @@ -618,6 +629,7 @@ max-parallelism=170 segment-costs=[1644364547, 123] cpu-comparison-result=120 [m 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales, RANDOM] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_store_sk, RF003[min_max] -> ss_hdemo_sk, RF005[min_max] -> ss_sold_time_sk, RF000[bloom] -> ss_store_sk, RF002[bloom] -> ss_hdemo_sk, RF004[bloom] -> ss_sold_time_sk stored statistics: table: rows=8.64G size=389.90GB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q97.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q97.test index 29a474c1a..2aabad71c 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q97.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q97.test @@ -77,6 +77,7 @@ PLAN-ROOT SINK | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -129,6 +130,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -259,6 +261,7 @@ max-parallelism=5230 segment-costs=[52275927885, 7286100529, 247] cpu-comparison | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -343,6 +346,7 @@ max-parallelism=1824 segment-costs=[56272761904, 8902589222] cpu-comparison-resu | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -473,6 +477,7 @@ max-parallelism=5230 segment-costs=[52275927885, 7286100529, 247] cpu-comparison | | 05:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | | HDFS partitions=1/1 files=1 size=2.17MB | | deterministic scan range assignment: true +| | schedule scan ranges oldest to newest: true | | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | | stored statistics: | | table: rows=73.05K size=2.17MB @@ -557,6 +562,7 @@ max-parallelism=1824 segment-costs=[56272761904, 8902589222] cpu-comparison-resu | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1220 AS INT), d_month_seq >= CAST(1209 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q98.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q98.test index 3b4d46550..0a7dc8c47 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q98.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q98.test @@ -103,6 +103,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Jewelry', 'Home', 'Shoes') | stored statistics: | table: rows=360.00K size=33.54MB @@ -137,6 +138,7 @@ PLAN-ROOT SINK | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-05-12', d_date >= DATE '2001-04-12' | stored statistics: | table: rows=73.05K size=2.17MB @@ -151,6 +153,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.store_sales] HDFS partitions=1824/1824 files=1824 size=389.90GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> ss_item_sk, RF000[bloom] -> ss_item_sk, RF002[bloom] -> ss_sold_date_sk stored statistics: table: rows=8.64G size=389.90GB @@ -269,6 +272,7 @@ max-parallelism=32 segment-costs=[320824245, 366808260] cpu-comparison-result=32 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Jewelry', 'Home', 'Shoes') | stored statistics: | table: rows=360.00K size=33.54MB @@ -320,6 +324,7 @@ max-parallelism=32 segment-costs=[320824245, 366808260] cpu-comparison-result=32 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-05-12', d_date >= DATE '2001-04-12' | stored statistics: | table: rows=73.05K size=2.17MB @@ -451,6 +456,7 @@ max-parallelism=32 segment-costs=[320824245, 366808260] cpu-comparison-result=32 | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.item, RANDOM] | HDFS partitions=1/1 files=1 size=33.54MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: i_category IN ('Jewelry', 'Home', 'Shoes') | stored statistics: | table: rows=360.00K size=33.54MB @@ -502,6 +508,7 @@ max-parallelism=32 segment-costs=[320824245, 366808260] cpu-comparison-result=32 | 02:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_date <= DATE '2001-05-12', d_date >= DATE '2001-04-12' | stored statistics: | table: rows=73.05K size=2.17MB diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q99.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q99.test index 9737bc8ab..2d81e8174 100644 --- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q99.test +++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds_tuple_cache/tpcds-q99.test @@ -92,6 +92,7 @@ PLAN-ROOT SINK | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1214 AS INT), d_month_seq >= CAST(1203 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -114,6 +115,7 @@ PLAN-ROOT SINK |--03:SCAN HDFS [tpcds_partitioned_parquet_snap.call_center] | HDFS partitions=1/1 files=1 size=16.57KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=48 size=16.57KB | columns: all @@ -133,6 +135,7 @@ PLAN-ROOT SINK |--02:SCAN HDFS [tpcds_partitioned_parquet_snap.ship_mode] | HDFS partitions=1/1 files=1 size=2.68KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=20 size=2.68KB | columns: all @@ -164,6 +167,7 @@ PLAN-ROOT SINK | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -175,6 +179,7 @@ PLAN-ROOT SINK 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_ship_date_sk, RF003[min_max] -> cs_call_center_sk, RF005[min_max] -> cs_ship_mode_sk, RF007[min_max] -> cs_warehouse_sk, RF000[bloom] -> cs_ship_date_sk, RF002[bloom] -> cs_call_center_sk, RF004[bloom] -> cs_ship_mode_sk, RF006[bloom] -> cs_warehouse_sk stored statistics: table: rows=4.32G size=280.96GB @@ -285,6 +290,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1214 AS INT), d_month_seq >= CAST(1203 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -406,6 +412,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -417,6 +424,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_ship_date_sk, RF003[min_max] -> cs_call_center_sk, RF005[min_max] -> cs_ship_mode_sk, RF007[min_max] -> cs_warehouse_sk, RF000[bloom] -> cs_ship_date_sk, RF002[bloom] -> cs_call_center_sk, RF004[bloom] -> cs_ship_mode_sk, RF006[bloom] -> cs_warehouse_sk stored statistics: table: rows=4.32G size=280.96GB @@ -527,6 +535,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= | 04:SCAN HDFS [tpcds_partitioned_parquet_snap.date_dim, RANDOM] | HDFS partitions=1/1 files=1 size=2.17MB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | predicates: d_month_seq <= CAST(1214 AS INT), d_month_seq >= CAST(1203 AS INT) | stored statistics: | table: rows=73.05K size=2.17MB @@ -648,6 +657,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= | 01:SCAN HDFS [tpcds_partitioned_parquet_snap.warehouse, RANDOM] | HDFS partitions=1/1 files=1 size=5.99KB | deterministic scan range assignment: true +| schedule scan ranges oldest to newest: true | stored statistics: | table: rows=22 size=5.99KB | columns: all @@ -659,6 +669,7 @@ max-parallelism=1600 segment-costs=[15955190797, 2357152] cpu-comparison-result= 00:SCAN HDFS [tpcds_partitioned_parquet_snap.catalog_sales, RANDOM] HDFS partitions=1831/1831 files=1831 size=280.96GB deterministic scan range assignment: true + schedule scan ranges oldest to newest: true runtime filters: RF001[min_max] -> cs_ship_date_sk, RF003[min_max] -> cs_call_center_sk, RF005[min_max] -> cs_ship_mode_sk, RF007[min_max] -> cs_warehouse_sk, RF000[bloom] -> cs_ship_date_sk, RF002[bloom] -> cs_call_center_sk, RF004[bloom] -> cs_ship_mode_sk, RF006[bloom] -> cs_warehouse_sk stored statistics: table: rows=4.32G size=280.96GB diff --git a/tests/custom_cluster/test_tuple_cache.py b/tests/custom_cluster/test_tuple_cache.py index febd96721..f3f76acb6 100644 --- a/tests/custom_cluster/test_tuple_cache.py +++ b/tests/custom_cluster/test_tuple_cache.py @@ -875,6 +875,10 @@ class TestTupleCacheFullCluster(TestTupleCacheBase): assert entries_in_use - entries_baseline[impalad] == max(mt_dop, 1) assert_deterministic_scan(vector, before_result.runtime_profile) + entries_before_insert = { + impalad: self.get_tuple_cache_metric(impalad.service, "entries-in-use") + for impalad in self.cluster.impalads} + # Insert another row, which creates a file / scan range # This uses a very large seed for table_value() to get a unique row that isn't # already in the table. @@ -894,24 +898,20 @@ class TestTupleCacheFullCluster(TestTupleCacheBase): unique_compile_keys = \ set([key.split("_")[0] for key in after_insert_unique_cache_keys]) assert len(unique_compile_keys) == 1 - # Verify the cache metrics. We can do a more exact bound by looking at the total - # across all impalads. The lower bound for this is the number of unique cache - # keys across both queries we ran. The upper bound for the number of entries is - # double the expected number from the first run of the query. - # - # This is not the exact number, because cache key X could have run on executor 1 - # for the first query and on executor 2 for the second query. Even though it would - # appear as a single unique cache key, it is two different cache entries in different - # executors. - all_cache_keys = unique_cache_keys.union(after_insert_unique_cache_keys) - total_entries_in_use = 0 + + # Verify the cache metrics. Scheduling scan ranges from oldest to newest makes this + # deterministic. The new file will be scheduled last and will change exactly one + # cache key. + assert len(after_insert_unique_cache_keys - unique_cache_keys) == 1 + total_new_entries = 0 for impalad in self.cluster.impalads: new_entries_in_use = self.get_tuple_cache_metric(impalad.service, "entries-in-use") - new_entries_in_use -= entries_baseline[impalad] - assert new_entries_in_use >= max(mt_dop, 1) - assert new_entries_in_use <= (2 * max(mt_dop, 1)) - total_entries_in_use += new_entries_in_use - assert total_entries_in_use >= len(all_cache_keys) + new_entries_in_use -= entries_before_insert[impalad] + # We're comparing with before the insert, so one node will have a new entry and all + # others will be the same. + assert new_entries_in_use in [0, 1] + total_new_entries += new_entries_in_use + assert total_new_entries == 1 assert_deterministic_scan(vector, after_insert_result.runtime_profile) # The extra scan range means that at least one fragment instance key changed