digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>CollectLimit</b><br><br>"];
2 [labelType="html" label="<br><b>Union</b><br><br>"];
subgraph cluster3 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 10 ms";
4 [labelType="html" label="<br><b>LocalLimit</b><br><br>"];
5 [labelType="html" label="<br><b>Project</b><br><br>"];
6 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 0"];
}
7 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 0<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 2.0 B"];
subgraph cluster8 {
isCluster="true";
label="WholeStageCodegen (6)\n \nduration: 19 ms";
9 [labelType="html" label="<br><b>LocalLimit</b><br><br>"];
10 [labelType="html" label="<br><b>Project</b><br><br>"];
}
11 [labelType="html" label="<b>CartesianProduct</b><br><br>number of output rows: 0"];
subgraph cluster12 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 82 ms";
13 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 8 ms<br>peak memory: 256.0 KiB<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
14 [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: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
15 [labelType="html" label="<br><b>Project</b><br><br>"];
16 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 3"];
}
17 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster18 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 175 ms";
19 [labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 16.1 MiB<br>spill size: 0.0 B"];
20 [labelType="html" label="<br><b>GlobalLimit</b><br><br>"];
}
21 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 15<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 1731.0: task 2295))<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: 3<br>local bytes read: 1688.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: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>3.2 KiB (528.0 B, 672.0 B, 840.0 B (stage 1731.0: task 2294))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<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>1688.0 B (237.0 B, 342.0 B, 399.0 B (stage 1731.0: task 2294))"];
subgraph cluster22 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n72 ms (4 ms, 16 ms, 19 ms (stage 1731.0: task 2296))";
23 [labelType="html" label="<br><b>LocalLimit</b><br><br>"];
24 [labelType="html" label="<br><b>Project</b><br><br>"];
}
25 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 15<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 18.1 MiB"];
subgraph cluster26 {
isCluster="true";
label="WholeStageCodegen (5)\n \nduration: 5 ms";
27 [labelType="html" label="<br><b>Project</b><br><br>"];
}
28 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 1<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 62.0 B"];
1->0;
2->1;
4->2;
5->4;
6->5;
7->6;
9->2;
10->9;
11->10;
13->11;
14->13;
15->14;
16->15;
17->16;
19->17;
20->19;
21->20;
23->21;
24->23;
25->24;
27->11;
28->27;
}
29
AdaptiveSparkPlan isFinalPlan=true
CollectLimit 500000
Union
LocalLimit 500000
Project [c0#272055 AS COL_E0877E55_D201_41B0_A882_1AF302053AF9#272287]
Filter isnotnull(c0#272055)
WholeStageCodegen (2)
FileScan csv [c0#272055] Batched: false, DataFilters: [isnotnull(c0#272055)], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/execution/empty.csv], PartitionFilters: [], PushedFilters: [IsNotNull(c0)], ReadSchema: struct<c0:string>
LocalLimit 500000
Project [str_if_with_rule((INFO_DATAAPPS_346034_COL_A9C3D939_A6C7_4DC2_8CC2_91076A4A2CFC#272251 <=> COL_467B8EF8_7CFB_46F2_8CD4_3805AEA1E17D#272247), null, Incohérence entre le FINESS saisi et le FINESS du fichier RSF) AS COL_42952156_A6E1_4158_96AE_E70CF0ED9DCE#272269]
WholeStageCodegen (6)
CartesianProduct isnotnull(str_if_with_rule((INFO_DATAAPPS_346034_COL_A9C3D939_A6C7_4DC2_8CC2_91076A4A2CFC#272251 <=> COL_467B8EF8_7CFB_46F2_8CD4_3805AEA1E17D#272247), null, Incohérence entre le FINESS saisi et le FINESS du fichier RSF))
HashAggregate(keys=[COL_CD1100A9_9106_47C2_93C6_E2EF19A395A4#272209], functions=[])
HashAggregate(keys=[COL_CD1100A9_9106_47C2_93C6_E2EF19A395A4#272209], functions=[])
Project [str_extract_middle(COL_0B816CAF_81A1_4E69_B9E3_E6597EABCC0D#272175, 2, 9) AS COL_CD1100A9_9106_47C2_93C6_E2EF19A395A4#272209]
Filter (((COL_466B8114_A534_4700_99C5_61D90974826A#272184 <=> 1) AND (str_extract(COL_0B816CAF_81A1_4E69_B9E3_E6597EABCC0D#272175, LEFT, 1) <=> A)) OR (COL_466B8114_A534_4700_99C5_61D90974826A#272184 > 1))
WholeStageCodegen (4)
Window [row_number() windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS COL_466B8114_A534_4700_99C5_61D90974826A#272184], [1], [1 DESC NULLS LAST]
Sort [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
GlobalLimit 3, 0
WholeStageCodegen (3)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=28302]
LocalLimit 3
Project [_c0#272148 AS COL_0B816CAF_81A1_4E69_B9E3_E6597EABCC0D#272175]
WholeStageCodegen (1)
FileScan csv [_c0#272148] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/tmp/RSF_SOURCE_SERV_345910/Input_RSF_YYYYYY..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<_c0:string>
Project [str_create(finess_dataapps#272083) AS INFO_DATAAPPS_346034_COL_A9C3D939_A6C7_4DC2_8CC2_91076A4A2CFC#272251]
WholeStageCodegen (5)
FileScan csv [finess_dataapps#272083] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/execution/INFOETAB_DATAAP_345911/current/in..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<finess_dataapps:string>