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: 16 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 3 ms<br>peak memory: 16.3 MiB<br>number of output rows: 2,888<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1.1"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 56.6 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,888<br>local merged chunks fetched: 0<br>shuffle write time: 1 ms<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: 2,888<br>local bytes read: 53.7 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 141.0 KiB<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: 53.7 KiB"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (13 ms, 14 ms, 1.8 s (stage 508.0: task 719))";
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>1.8 s (2 ms, 4 ms, 1.8 s (stage 508.0: task 719))<br>peak memory total (min, med, max (stageId: taskId))<br>17.5 MiB (256.0 KiB, 256.0 KiB, 16.3 MiB (stage 508.0: task 719))<br>number of output rows: 2,888<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 73,801"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 99,999<br>number of input batches: 25"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time total (min, med, max (stageId: taskId))<br>27 ms (2 ms, 4 ms, 10 ms (stage 508.0: task 719))<br>metadata time: 0 ms<br>size of files read: 21.3 MiB<br>number of output rows: 99,999"];
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_321DC632_C91C_4A6D_9234_899E4124421B#111142 ASC NULLS FIRST], output=[COL_321DC632_C91C_4A6D_9234_899E4124421B#111142,COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143,COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L])
HashAggregate(keys=[COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, 10), ENSURE_REQUIREMENTS, [plan_id=8006]
HashAggregate(keys=[COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378], functions=[partial_count(1)])
Project [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509 AS COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, str_to_date(str_extract(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, LEFT, 10), yyyy-MM-dd) AS COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659]
Filter ((str_remove_accent(upper(COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526)) <=> JEANNEAU) AND isnotnull(str_to_date(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, yyyy-MM-dd HH:mm:ss.SSS)))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509,COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510,COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526] Batched: true, DataFilters: [(str_remove_accent(upper(COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526)) <=> JEANNEAU), isnotn..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/TRACE_BIS_53740], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B:string,COL_17CFF7E8_6D44_452C_AA7D_72E415693D26:s...
== Physical Plan ==
AdaptiveSparkPlan (17)
+- == Final Plan ==
TakeOrderedAndProject (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=141.0 KiB, rowCount=2.89E+3)
+- 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 [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/TRACE_BIS_53740]
ReadSchema: struct<COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B:string,COL_17CFF7E8_6D44_452C_AA7D_72E415693D26:string,COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9:string>
(2) ColumnarToRow [codegen id : 1]
Input [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
(3) Filter [codegen id : 1]
Input [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
Condition : ((str_remove_accent(upper(COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526)) <=> JEANNEAU) AND isnotnull(str_to_date(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, yyyy-MM-dd HH:mm:ss.SSS)))
(4) Project [codegen id : 1]
Output [2]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509 AS COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, str_to_date(str_extract(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, LEFT, 10), yyyy-MM-dd) AS COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659]
Input [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
(5) HashAggregate [codegen id : 1]
Input [2]: [COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659]
Keys [2]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#111212L]
Results [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
(6) Exchange
Input [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Arguments: hashpartitioning(COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, 10), ENSURE_REQUIREMENTS, [plan_id=8006]
(7) ShuffleQueryStage
Output [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Arguments: 0
(8) AQEShuffleRead
Input [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Keys [2]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#111178L]
Results [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659 AS COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378 AS COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, count(1)#111178L AS COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
(10) TakeOrderedAndProject
Input [3]: [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
Arguments: 500000, [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142 ASC NULLS FIRST], [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
(11) Filter
Input [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
Condition : ((str_remove_accent(upper(COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526)) <=> JEANNEAU) AND isnotnull(str_to_date(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, yyyy-MM-dd HH:mm:ss.SSS)))
(12) Project
Output [2]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509 AS COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, str_to_date(str_extract(COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, LEFT, 10), yyyy-MM-dd) AS COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659]
Input [3]: [COL_85A1CAF5_BCF3_407C_8ADB_3DA17259A82B#109509, COL_17CFF7E8_6D44_452C_AA7D_72E415693D26#109510, COL_98C1A2B9_C690_409F_91ED_D9A2A3C44CA9#109526]
(13) HashAggregate
Input [2]: [COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659]
Keys [2]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#111212L]
Results [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
(14) Exchange
Input [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Arguments: hashpartitioning(COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, 10), ENSURE_REQUIREMENTS, [plan_id=7983]
(15) HashAggregate
Input [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378, count#111213L]
Keys [2]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#111178L]
Results [3]: [COL_CC4BB317_41CD_4E5F_91B6_C1B4D8CD4FF7#110659 AS COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_7E5696AD_3115_467B_B18D_6BD73D4FAA54#110378 AS COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, count(1)#111178L AS COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
(16) TakeOrderedAndProject
Input [3]: [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
Arguments: 500000, [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142 ASC NULLS FIRST], [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
(17) AdaptiveSparkPlan
Output [3]: [COL_321DC632_C91C_4A6D_9234_899E4124421B#111142, COL_2D3D9F71_CABD_41A1_8D23_55B0F84DFCAF#111143, COL_6AFE7DC9_E91C_4322_8636_B3E1BAC91501#111197L]
Arguments: isFinalPlan=true