digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>TakeOrderedAndProject</b><br><br>"];
subgraph cluster2 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 18 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 1 ms<br>peak memory: 256.0 KiB<br>number of output rows: 425<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 13.9 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 580<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>8 ms (1 ms, 1 ms, 3 ms (stage 5877.0: task 5441))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 580<br>local bytes read: 13.3 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>22.7 KiB (3.3 KiB, 7.1 KiB, 7.8 KiB (stage 5877.0: task 5439))<br>local merged bytes read: 0.0 B<br>number of partitions: 10<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>13.3 KiB (2.4 KiB, 3.9 KiB, 4.2 KiB (stage 5877.0: task 5439))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n218 ms (49 ms, 57 ms, 58 ms (stage 5877.0: task 5439))";
7 [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>55 ms (8 ms, 17 ms, 17 ms (stage 5877.0: task 5439))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5877.0: task 5440))<br>number of output rows: 580<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 5,316"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 7,020<br>number of input batches: 4"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>27 ms (4 ms, 7 ms, 10 ms (stage 5877.0: task 5441))<br>metadata time: 0 ms<br>size of files read: 1959.2 KiB<br>number of output rows: 7,020"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
11->10;
}
12
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=500000, orderBy=[COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589 DESC NULLS LAST], output=[COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587,COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L,COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589])
HashAggregate(keys=[COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702], functions=[])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702, 10), ENSURE_REQUIREMENTS, [plan_id=115509]
HashAggregate(keys=[COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, knownfloatingpointnormalized(normalizenanandzero(COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702)) AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702], functions=[])
Project [COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104 AS COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L AS COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141 AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Filter (str_remove_accent(upper(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029)) <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029,COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104,COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L,COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141] Batched: true, DataFilters: [(str_remove_accent(upper(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029)) <=> 1)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/RHA_2021_56618], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB:string,COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0:s...
== Physical Plan ==
AdaptiveSparkPlan (17)
+- == Final Plan ==
TakeOrderedAndProject (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=22.7 KiB, rowCount=580)
+- Exchange (6)
+- * HashAggregate (5)
+- * Project (4)
+- * Filter (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
TakeOrderedAndProject (16)
+- HashAggregate (15)
+- Exchange (14)
+- HashAggregate (13)
+- Project (12)
+- Filter (11)
+- Scan parquet (1)
(1) Scan parquet
Output [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/RHA_2021_56618]
ReadSchema: struct<COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB:string,COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0:string,COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB:bigint,COL_21A1597F_E989_4AB2_8805_714EC927FD62:double>
(2) ColumnarToRow [codegen id : 1]
Input [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
(3) Filter [codegen id : 1]
Input [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
Condition : (str_remove_accent(upper(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029)) <=> 1)
(4) Project [codegen id : 1]
Output [3]: [COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104 AS COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L AS COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141 AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Input [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
(5) HashAggregate [codegen id : 1]
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Keys [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, knownfloatingpointnormalized(normalizenanandzero(COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702)) AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Functions: []
Aggregate Attributes: []
Results [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
(6) Exchange
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Arguments: hashpartitioning(COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702, 10), ENSURE_REQUIREMENTS, [plan_id=115509]
(7) ShuffleQueryStage
Output [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Arguments: 0
(8) AQEShuffleRead
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Keys [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Functions: []
Aggregate Attributes: []
Results [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669 AS COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L AS COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702 AS COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
(10) TakeOrderedAndProject
Input [3]: [COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
Arguments: 500000, [COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589 DESC NULLS LAST], [COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
(11) Filter
Input [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
Condition : (str_remove_accent(upper(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029)) <=> 1)
(12) Project
Output [3]: [COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104 AS COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L AS COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141 AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Input [4]: [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#866029, COL_4CBA6864_47F6_40CD_A569_4F56B8796DB0#866104, COL_8692ECCE_6B76_460D_AD20_C7B5C609BBEB#866134L, COL_21A1597F_E989_4AB2_8805_714EC927FD62#866141]
(13) HashAggregate
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Keys [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, knownfloatingpointnormalized(normalizenanandzero(COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702)) AS COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Functions: []
Aggregate Attributes: []
Results [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
(14) Exchange
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Arguments: hashpartitioning(COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702, 10), ENSURE_REQUIREMENTS, [plan_id=115486]
(15) HashAggregate
Input [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Keys [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702]
Functions: []
Aggregate Attributes: []
Results [3]: [COL_C1690987_2102_4D77_A122_126F8992930C#868669 AS COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_1AE0A120_9B72_4485_A5EE_11E8077C60BD#868699L AS COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_C527B2B9_1F74_40E0_9C04_B7B6CBF0CC39#868702 AS COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
(16) TakeOrderedAndProject
Input [3]: [COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
Arguments: 500000, [COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589 DESC NULLS LAST], [COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
(17) AdaptiveSparkPlan
Output [3]: [COL_195739FD_1B98_4B72_B58A_BE5534834ABE#869587, COL_E2CEC6A4_B91A_4167_9C4C_D4D736F148A9#869588L, COL_B149FF24_1783_476B_BEE4_AE402D36EE81#869589]
Arguments: isFinalPlan=true