digraph G {
0 [id="node0" labelType="html" label="<b>CollectLimit</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>local merged bytes read: 0.0 B<br>remote reqs duration: 0 ms<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>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="CollectLimit 1"];
subgraph cluster1 {
isCluster="true";
id="cluster1";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n91 ms (0 ms, 9 ms, 10 ms (stage 77370.0: task 191367))";
tooltip="WholeStageCodegen (5)";
2 [id="node2" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
3 [id="node3" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter insight#939335.internalInsightType IN (OP_CALC_ITEM_ACCEPT_THR_NOT_MET,OP_CALC_ITEM_NEGL_THR_NOT_MET,OP_CALC_ITEM_OPT_MISSING_MD,OP_CALC_LOCKED_QUANTITY_PREVENTS_DISCARDING_INSIGHT,OP_CALC_MIN_NOT_MET)"];
4 [id="node4" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#935030), false, [insight#939335]"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [optimizationInsights#935030]"];
6 [id="node6" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#935025L], [orderProposalId#935737L], Inner, BuildLeft, false"];
17 [id="node17" 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>9 ms (0 ms, 0 ms, 2 ms (stage 77370.0: task 191368))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 77370.0: task 191375))<br>number of output rows: 5<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#935737L], functions=[])"];
}
7 [id="node7" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 101 ms<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=369396]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n11 ms (0 ms, 0 ms, 2 ms (stage 77367.0: task 191330))";
tooltip="WholeStageCodegen (1)";
9 [id="node9" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#935025L) AND (size(optimizationInsights#935030, true) > 0)) AND isnotnull(optimizationInsights#935030))"];
}
10 [id="node10" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [orderProposalId#935025L, optimizationInsights#935030], [isnotnull(orderProposalId#935025L), (size(optimizationInsights#935030, true) > 0), isnotnull(optimizationInsights#935030)]"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
}
13 [id="node13" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]"];
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
15 [id="node15" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
16 [id="node16" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#935024,orderProposalId#935025L,items#935026,optimizationGroups#935027,isOptimal#935028,lastModified#935029,optimizationInsights#935030]"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>525.0 B (150.0 B, 150.0 B, 225.0 B (stage 77370.0: task 191367))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>128.0 B (16.0 B, 16.0 B, 32.0 B (stage 77369.0: task 191347))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 77369.0: task 191353))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 77370.0: task 191368))<br>remote bytes read: 75.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>600.0 B (75.0 B, 75.0 B, 150.0 B (stage 77369.0: task 191347))" tooltip="Exchange hashpartitioning(orderProposalId#935737L, 20), ENSURE_REQUIREMENTS, [plan_id=369418]"];
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n36 ms (0 ms, 3 ms, 4 ms (stage 77369.0: task 191351))";
tooltip="WholeStageCodegen (4)";
20 [id="node20" 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>0 ms (0 ms, 0 ms, 0 ms (stage 77369.0: task 191354))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 77369.0: task 191354))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#935737L], functions=[])"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#935737L]"];
22 [id="node22" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#935536L], [worklistShardItemId#935760L], Inner, BuildLeft, false"];
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#935760L, orderProposalId#935737L]"];
}
23 [id="node23" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 34 ms<br>number of output rows: 8<br>data size: 1024.2 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=369404]"];
subgraph cluster24 {
isCluster="true";
id="cluster24";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n0 ms (0 ms, 0 ms, 0 ms (stage 77366.0: task 191309))";
tooltip="WholeStageCodegen (2)";
25 [id="node25" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#935535L AS worklistShardItemId#935536L]"];
26 [id="node26" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(_extract_worklistShardItemId#942747), false, [item#935535L]"];
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#939329.worklistShardItemId AS _extract_worklistShardItemId#942747]"];
28 [id="node28" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter (((size(items#939329.worklistShardItemId, true) > 0) AND isnotnull(items#939329.worklistShardItemId)) AND (shardId#939327 = 0_1_10000002110))"];
}
29 [id="node29" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [items#939329, shardId#939327], [(size(items#939329.worklistShardItemId, true) > 0), isnotnull(items#939329.worklistShardItemId), (shardId#939327 = 0_1_10000002110)]"];
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
31 [id="node31" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
}
32 [id="node32" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]"];
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
34 [id="node34" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
35 [id="node35" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#935024,orderProposalId#935025L,items#935026,optimizationGroups#935027,isOptimal#935028,lastModified#935029,optimizationInsights#935030]"];
}
37 [id="node37" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>588.0 B (84.0 B, 84.0 B, 84.0 B (stage 77369.0: task 191351))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>192.0 B (24.0 B, 24.0 B, 48.0 B (stage 77368.0: task 191342))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 77368.0: task 191342))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 77369.0: task 191351))<br>remote bytes read: 84.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>672.0 B (84.0 B, 84.0 B, 168.0 B (stage 77368.0: task 191342))" tooltip="Exchange hashpartitioning(worklistShardItemId#935760L, 20), REPARTITION_BY_NUM, [plan_id=369411]"];
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n719 ms (111 ms, 116 ms, 139 ms (stage 77368.0: task 191341))";
tooltip="WholeStageCodegen (3)";
39 [id="node39" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#935737L, worklistShardItemId#935760L]"];
40 [id="node40" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter ((isnotnull(worklistShardItemId#935760L) AND NOT (isFallbackOrderOnly#935754 <=> true)) AND isnotnull(orderProposalId#935737L))"];
41 [id="node41" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 8<br>number of input batches: 6" tooltip="ColumnarToRow"];
}
42 [id="node42" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 6<br>scan time total (min, med, max (stageId: taskId))<br>713 ms (110 ms, 115 ms, 138 ms (stage 77368.0: task 191341))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 113.4 KiB<br>number of output rows: 8<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#935737L,isFallbackOrderOnly#935754,worklistShardItemId#935760L,shardId#935781,sequenceId#935759] Batched: true, DataFilters: [isnotnull(worklistShardItemId#935760L), NOT (isFallbackOrderOnly#935754 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#935781), isnotnull(sequenceId#935759), (shardId#935781 = 0_1_10000002110), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->0;
3->2;
4->3;
5->4;
6->5;
7->6;
9->7;
10->9;
12->10;
13->12;
15->13;
16->15;
17->6;
18->17;
20->18;
21->20;
22->21;
23->22;
25->23;
26->25;
27->26;
28->27;
29->28;
31->29;
32->31;
34->32;
35->34;
36->22;
37->36;
39->37;
40->39;
41->40;
42->41;
}