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: 0 ms<br>peak memory: 256.0 KiB<br>number of output rows: 17<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: 946.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 17<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: 17<br>local bytes read: 902.0 B<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: 576.0 B<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: 902.0 B"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 22 ms";
7 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 4 ms<br>peak memory: 256.0 KiB<br>number of output rows: 17<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: 17"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 17<br>number of input batches: 1"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 3 ms<br>metadata time: 0 ms<br>size of files read: 5.0 KiB<br>number of output rows: 17"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
11->10;
}
12
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=100, orderBy=[COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472 ASC NULLS FIRST], output=[COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487])
HashAggregate(keys=[COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472], functions=[])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472, 10), ENSURE_REQUIREMENTS, [plan_id=42285]
HashAggregate(keys=[COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472], functions=[])
Project [str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), ))) AS COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Filter CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), )) THEN false ELSE Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), ) END
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L,COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330] Batched: true, DataFilters: [CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/DB_META_ALL_ANA_398939], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8:bigint,COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615:s...
== Physical Plan ==
AdaptiveSparkPlan (17)
+- == Final Plan ==
TakeOrderedAndProject (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=576.0 B, rowCount=17)
+- 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 [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/DB_META_ALL_ANA_398939]
ReadSchema: struct<COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8:bigint,COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615:string>
(2) ColumnarToRow [codegen id : 1]
Input [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
(3) Filter [codegen id : 1]
Input [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
Condition : CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), )) THEN false ELSE Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), ) END
(4) Project [codegen id : 1]
Output [1]: [str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), ))) AS COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Input [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
(5) HashAggregate [codegen id : 1]
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Keys [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Functions: []
Aggregate Attributes: []
Results [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
(6) Exchange
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: hashpartitioning(COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472, 10), ENSURE_REQUIREMENTS, [plan_id=42285]
(7) ShuffleQueryStage
Output [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: 0
(8) AQEShuffleRead
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Keys [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Functions: []
Aggregate Attributes: []
Results [2]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472 AS COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487, COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
(10) TakeOrderedAndProject
Input [2]: [COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487, COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: 100, [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472 ASC NULLS FIRST], [COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487]
(11) Filter
Input [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
Condition : CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), )) THEN false ELSE Contains(str_remove_accent(upper(str_remove_accent(str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), )))))), ) END
(12) Project
Output [1]: [str_concat(array(COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330, (, bigint_to_str(COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L), ))) AS COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Input [2]: [COL_3771B488_98F1_4DA6_9E11_BE7256EEF1E8#308323L, COL_A3EE2AD5_5273_4D7E_B9CA_1C5E7D352615#308330]
(13) HashAggregate
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Keys [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Functions: []
Aggregate Attributes: []
Results [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
(14) Exchange
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: hashpartitioning(COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472, 10), ENSURE_REQUIREMENTS, [plan_id=42262]
(15) HashAggregate
Input [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Keys [1]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Functions: []
Aggregate Attributes: []
Results [2]: [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472 AS COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487, COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
(16) TakeOrderedAndProject
Input [2]: [COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487, COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472]
Arguments: 100, [COL_9FF47E9C_3D2F_4C94_B21C_0653E1D10E44#308472 ASC NULLS FIRST], [COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487]
(17) AdaptiveSparkPlan
Output [1]: [COL_0131C2C2_7517_48A5_9A39_CBA1C65A8B09#308487]
Arguments: isFinalPlan=true