digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n210 ms (0 ms, 13 ms, 15 ms (stage 1657197.0: task 4362485))";
tooltip="WholeStageCodegen (8)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>39 ms (0 ms, 0 ms, 5 ms (stage 1657197.0: task 4362479))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1657197.0: task 4362486))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16695828], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#16695828, 30), ENSURE_REQUIREMENTS, [plan_id=4965850]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (0 ms, 18 ms, 165 ms (stage 1657196.0: task 4362454))";
tooltip="WholeStageCodegen (7)";
4 [id="node4" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>59 ms (0 ms, 0 ms, 7 ms (stage 1657196.0: task 4362449))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1657196.0: task 4362455))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16695828], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16695828]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#16695834), [shardId#16695828], false, [insight#16699998]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16695828, optimizationInsights#16695834]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1657196.0: task 4362455))" tooltip="SortMergeJoin [orderProposalId#16695829L], [orderProposalId#16696541L], Inner"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n7.6 s (1 ms, 417 ms, 572 ms (stage 1657196.0: task 4362454))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1657196.0: task 4362455))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 1657196.0: task 4362455))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1657196.0: task 4362455))" tooltip="Sort [orderProposalId#16695829L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#16695829L, 30), ENSURE_REQUIREMENTS, [plan_id=4965813]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n425 ms (0 ms, 2 ms, 81 ms (stage 1657194.0: task 4362360))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#16695829L) AND (size(optimizationInsights#16695834, true) > 0)) AND isnotnull(optimizationInsights#16695834))"];
}
14 [id="node14" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 692" tooltip="InMemoryTableScan [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834], [isnotnull(orderProposalId#16695829L), (size(optimizationInsights#16695834, true) > 0), isnotnull(optimizationInsights#16695834)]"];
subgraph cluster15 {
isCluster="true";
id="cluster15";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
16 [id="node16" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))"];
}
17 [id="node17" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834], [isnotnull(shardId#16695828), (shardId#16695828 = 0_3_10000000548)]"];
subgraph cluster18 {
isCluster="true";
id="cluster18";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
19 [id="node19" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#16695828,orderProposalId#16695829L,items#16695830,optimizationGroups#16695831,isOptimal#16695832,lastModified#16695833,optimizationInsights#16695834]"];
}
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [orderProposalId#16696541L ASC NULLS FIRST], false, 0"];
23 [id="node23" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 ms<br>peak memory: 0.0 B<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#16696541L], functions=[])"];
}
24 [id="node24" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#16696541L, 30), ENSURE_REQUIREMENTS, [plan_id=4965838]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n915 ms (0 ms, 31 ms, 118 ms (stage 1657195.0: task 4362417))";
tooltip="WholeStageCodegen (5)";
26 [id="node26" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>25 ms (0 ms, 0 ms, 5 ms (stage 1657195.0: task 4362423))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1657195.0: task 4362425))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#16696541L], functions=[])"];
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#16696541L]"];
28 [id="node28" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#16696340L], [worklistShardItemId#16696564L], Inner, BuildLeft, false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#16696564L, orderProposalId#16696541L]"];
}
29 [id="node29" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 3 ms<br>time to build: 7 ms<br>time to collect: 145 ms<br>number of output rows: 35,084<br>data size: 3.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=4965824]"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n60 ms (0 ms, 3 ms, 3 ms (stage 1657142.0: task 4362330))";
tooltip="WholeStageCodegen (3)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#16696339L AS worklistShardItemId#16696340L]"];
32 [id="node32" labelType="html" label="<b>Generate</b><br><br>number of output rows: 35,084" tooltip="Generate explode(_extract_worklistShardItemId#16700129), false, [item#16696339L]"];
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#16699992.worklistShardItemId AS _extract_worklistShardItemId#16700129]"];
34 [id="node34" labelType="html" label="<b>Filter</b><br><br>number of output rows: 692" tooltip="Filter (((size(items#16699992.worklistShardItemId, true) > 0) AND isnotnull(items#16699992.worklistShardItemId)) AND (shardId#16699990 = 0_3_10000000548))"];
}
35 [id="node35" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 692" tooltip="InMemoryTableScan [items#16699992, shardId#16699990], [(size(items#16699992.worklistShardItemId, true) > 0), isnotnull(items#16699992.worklistShardItemId), (shardId#16699990 = 0_3_10000000548)]"];
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
37 [id="node37" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))"];
}
38 [id="node38" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834], [isnotnull(shardId#16695828), (shardId#16695828 = 0_3_10000000548)]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
40 [id="node40" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))"];
41 [id="node41" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#16695828,orderProposalId#16695829L,items#16695830,optimizationGroups#16695831,isOptimal#16695832,lastModified#16695833,optimizationInsights#16695834]"];
}
43 [id="node43" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(worklistShardItemId#16696564L, 30), REPARTITION_BY_NUM, [plan_id=4965831]"];
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.7 s (65 ms, 85 ms, 204 ms (stage 1657143.0: task 4362372))";
tooltip="WholeStageCodegen (4)";
45 [id="node45" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#16696541L, worklistShardItemId#16696564L]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#16696564L) AND NOT (isFallbackOrderOnly#16696558 <=> true)) AND isnotnull(orderProposalId#16696541L))"];
47 [id="node47" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
48 [id="node48" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>3.6 s (65 ms, 85 ms, 199 ms (stage 1657143.0: task 4362372))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 5.2 MiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#16696541L,isFallbackOrderOnly#16696558,worklistShardItemId#16696564L,shardId#16696585,sequenceId#16696563] Batched: true, DataFilters: [isnotnull(worklistShardItemId#16696564L), NOT (isFallbackOrderOnly#16696558 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#16696585), isnotnull(sequenceId#16696563), (shardId#16696585 = 0_3_10000000548..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
10->8;
11->10;
13->11;
14->13;
16->14;
17->16;
19->17;
20->19;
22->8;
23->22;
24->23;
26->24;
27->26;
28->27;
29->28;
31->29;
32->31;
33->32;
34->33;
35->34;
37->35;
38->37;
40->38;
41->40;
42->28;
43->42;
45->43;
46->45;
47->46;
48->47;
}
== Physical Plan ==
* HashAggregate (36)
+- Exchange (35)
+- * HashAggregate (34)
+- * Project (33)
+- * Generate (32)
+- * Project (31)
+- * SortMergeJoin Inner (30)
:- * Sort (10)
: +- Exchange (9)
: +- * Filter (8)
: +- InMemoryTableScan (1)
: +- InMemoryRelation (2)
: +- * Filter (7)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Filter (6)
: +- * Scan ExistingRDD (5)
+- * Sort (29)
+- * HashAggregate (28)
+- Exchange (27)
+- * HashAggregate (26)
+- * Project (25)
+- * BroadcastHashJoin Inner BuildLeft (24)
:- BroadcastExchange (17)
: +- * Project (16)
: +- * Generate (15)
: +- * Project (14)
: +- * Filter (13)
: +- InMemoryTableScan (11)
: +- InMemoryRelation (12)
: +- * Filter (7)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Filter (6)
: +- * Scan ExistingRDD (5)
+- * Project (23)
+- Exchange (22)
+- * Project (21)
+- * Filter (20)
+- * ColumnarToRow (19)
+- Scan parquet (18)
(1) InMemoryTableScan
Output [3]: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834]
Arguments: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834], [isnotnull(orderProposalId#16695829L), (size(optimizationInsights#16695834, true) > 0), isnotnull(optimizationInsights#16695834)]
(2) InMemoryRelation
Arguments: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834]
Arguments: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834], [isnotnull(shardId#16695828), (shardId#16695828 = 0_3_10000000548)]
(4) InMemoryRelation
Arguments: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, lastModified#16695833, optimizationInsights#16695834], StorageLevel(disk, memory, 2 replicas)
(5) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, lastModified#16695833, optimizationInsights#16695834]
Arguments: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, lastModified#16695833, optimizationInsights#16695834], MapPartitionsRDD[710108] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(6) Filter [codegen id : 1]
Input [7]: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, lastModified#16695833, optimizationInsights#16695834]
Condition : (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))
(7) Filter [codegen id : 1]
Input [6]: [shardId#16695828, orderProposalId#16695829L, items#16695830, optimizationGroups#16695831, isOptimal#16695832, optimizationInsights#16695834]
Condition : (isnotnull(shardId#16695828) AND (shardId#16695828 = 0_3_10000000548))
(8) Filter [codegen id : 1]
Input [3]: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834]
Condition : ((isnotnull(orderProposalId#16695829L) AND (size(optimizationInsights#16695834, true) > 0)) AND isnotnull(optimizationInsights#16695834))
(9) Exchange
Input [3]: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834]
Arguments: hashpartitioning(orderProposalId#16695829L, 30), ENSURE_REQUIREMENTS, [plan_id=4965813]
(10) Sort [codegen id : 2]
Input [3]: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834]
Arguments: [orderProposalId#16695829L ASC NULLS FIRST], false, 0
(11) InMemoryTableScan
Output [2]: [items#16699992, shardId#16699990]
Arguments: [items#16699992, shardId#16699990], [(size(items#16699992.worklistShardItemId, true) > 0), isnotnull(items#16699992.worklistShardItemId), (shardId#16699990 = 0_3_10000000548)]
(12) InMemoryRelation
Arguments: [shardId#16699990, orderProposalId#16699991L, items#16699992, optimizationGroups#16699993, isOptimal#16699994, optimizationInsights#16699996], StorageLevel(disk, memory, 2 replicas)
(13) Filter [codegen id : 3]
Input [2]: [items#16699992, shardId#16699990]
Condition : (((size(items#16699992.worklistShardItemId, true) > 0) AND isnotnull(items#16699992.worklistShardItemId)) AND (shardId#16699990 = 0_3_10000000548))
(14) Project [codegen id : 3]
Output [1]: [items#16699992.worklistShardItemId AS _extract_worklistShardItemId#16700129]
Input [2]: [items#16699992, shardId#16699990]
(15) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#16700129]
Arguments: explode(_extract_worklistShardItemId#16700129), false, [item#16696339L]
(16) Project [codegen id : 3]
Output [1]: [item#16696339L AS worklistShardItemId#16696340L]
Input [1]: [item#16696339L]
(17) BroadcastExchange
Input [1]: [worklistShardItemId#16696340L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=4965824]
(18) Scan parquet
Output [5]: [orderProposalId#16696541L, isFallbackOrderOnly#16696558, worklistShardItemId#16696564L, shardId#16696585, sequenceId#16696563]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000548]
PartitionFilters: [isnotnull(shardId#16696585), isnotnull(sequenceId#16696563), (shardId#16696585 = 0_3_10000000548), (sequenceId#16696563 = 25)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(19) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#16696541L, isFallbackOrderOnly#16696558, worklistShardItemId#16696564L, shardId#16696585, sequenceId#16696563]
(20) Filter [codegen id : 4]
Input [5]: [orderProposalId#16696541L, isFallbackOrderOnly#16696558, worklistShardItemId#16696564L, shardId#16696585, sequenceId#16696563]
Condition : ((isnotnull(worklistShardItemId#16696564L) AND NOT (isFallbackOrderOnly#16696558 <=> true)) AND isnotnull(orderProposalId#16696541L))
(21) Project [codegen id : 4]
Output [2]: [orderProposalId#16696541L, worklistShardItemId#16696564L]
Input [5]: [orderProposalId#16696541L, isFallbackOrderOnly#16696558, worklistShardItemId#16696564L, shardId#16696585, sequenceId#16696563]
(22) Exchange
Input [2]: [orderProposalId#16696541L, worklistShardItemId#16696564L]
Arguments: hashpartitioning(worklistShardItemId#16696564L, 30), REPARTITION_BY_NUM, [plan_id=4965831]
(23) Project
Output [2]: [worklistShardItemId#16696564L, orderProposalId#16696541L]
Input [2]: [orderProposalId#16696541L, worklistShardItemId#16696564L]
(24) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#16696340L]
Right keys [1]: [worklistShardItemId#16696564L]
Join type: Inner
Join condition: None
(25) Project [codegen id : 5]
Output [1]: [orderProposalId#16696541L]
Input [3]: [worklistShardItemId#16696340L, worklistShardItemId#16696564L, orderProposalId#16696541L]
(26) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#16696541L]
Keys [1]: [orderProposalId#16696541L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#16696541L]
(27) Exchange
Input [1]: [orderProposalId#16696541L]
Arguments: hashpartitioning(orderProposalId#16696541L, 30), ENSURE_REQUIREMENTS, [plan_id=4965838]
(28) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#16696541L]
Keys [1]: [orderProposalId#16696541L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#16696541L]
(29) Sort [codegen id : 6]
Input [1]: [orderProposalId#16696541L]
Arguments: [orderProposalId#16696541L ASC NULLS FIRST], false, 0
(30) SortMergeJoin [codegen id : 7]
Left keys [1]: [orderProposalId#16695829L]
Right keys [1]: [orderProposalId#16696541L]
Join type: Inner
Join condition: None
(31) Project [codegen id : 7]
Output [2]: [shardId#16695828, optimizationInsights#16695834]
Input [4]: [shardId#16695828, orderProposalId#16695829L, optimizationInsights#16695834, orderProposalId#16696541L]
(32) Generate [codegen id : 7]
Input [2]: [shardId#16695828, optimizationInsights#16695834]
Arguments: explode(optimizationInsights#16695834), [shardId#16695828], false, [insight#16699998]
(33) Project [codegen id : 7]
Output [1]: [shardId#16695828]
Input [2]: [shardId#16695828, insight#16699998]
(34) HashAggregate [codegen id : 7]
Input [1]: [shardId#16695828]
Keys [1]: [shardId#16695828]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#16695828]
(35) Exchange
Input [1]: [shardId#16695828]
Arguments: hashpartitioning(shardId#16695828, 30), ENSURE_REQUIREMENTS, [plan_id=4965850]
(36) HashAggregate [codegen id : 8]
Input [1]: [shardId#16695828]
Keys [1]: [shardId#16695828]
Functions: []
Aggregate Attributes: []
Results [1]: [shardId#16695828]