== Physical Plan ==
AdaptiveSparkPlan (47)
+- == Final Plan ==
* HashAggregate (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=0.0 B, rowCount=0)
+- Exchange (6)
+- * HashAggregate (5)
+- * SerializeFromObject (4)
+- * MapElements (3)
+- * DeserializeToObject (2)
+- * LocalTableScan (1)
+- == Initial Plan ==
HashAggregate (46)
+- Exchange (45)
+- HashAggregate (44)
+- SerializeFromObject (43)
+- MapElements (42)
+- DeserializeToObject (41)
+- SortMergeJoin LeftAnti (40)
:- Sort (31)
: +- Project (30)
: +- Filter (29)
: +- HashAggregate (28)
: +- Exchange (27)
: +- HashAggregate (26)
: +- SerializeFromObject (25)
: +- MapPartitions (24)
: +- DeserializeToObject (23)
: +- Filter (22)
: +- InMemoryTableScan (9)
: +- InMemoryRelation (10)
: +- AdaptiveSparkPlan (21)
+- == Final Plan ==
* SerializeFromObject (17)
+- MapGroups (16)
+- * Sort (15)
+- ShuffleQueryStage (14), Statistics(sizeInBytes=0.0 B, rowCount=0)
+- Exchange (13)
+- AppendColumnsWithObject (12)
+- Scan (11)
+- == Initial Plan ==
SerializeFromObject (20)
+- MapGroups (19)
+- Sort (18)
+- Exchange (13)
+- AppendColumnsWithObject (12)
+- Scan (11)
+- Sort (39)
+- Exchange (38)
+- Project (37)
+- Filter (36)
+- SerializeFromObject (35)
+- MapPartitions (34)
+- DeserializeToObject (33)
+- Scan ExistingRDD Delta Table State #22 - hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-workload-determination-service/in/workload-dupl-lock-v2/_delta_log (32)
(1) LocalTableScan [codegen id : 5]
Output [1]: [path#3339651]
Arguments: <empty>, [path#3339651]
(2) DeserializeToObject [codegen id : 5]
Input [1]: [path#3339651]
Arguments: path#3339651.toString, obj#3339793: java.lang.String
(3) MapElements [codegen id : 5]
Input [1]: [obj#3339793]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6994/0x0000000801d1eed8@1cd3814d, obj#3339794: java.lang.String
(4) SerializeFromObject [codegen id : 5]
Input [1]: [obj#3339794]
(5) HashAggregate [codegen id : 5]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3339862L]
Results [1]: [count#3339863L]
(6) Exchange
Input [1]: [count#3339863L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=3012387]
(7) ShuffleQueryStage
Output [1]: [count#3339863L]
Arguments: 3
(8) HashAggregate [codegen id : 6]
Input [1]: [count#3339863L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3339799L]
Results [1]: [count(1)#3339799L AS count#3339800L]
(9) InMemoryTableScan
Output [4]: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L]
Arguments: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L], [((modificationTime#3339502L < 1777062979120) OR isDir#3339501)]
(10) InMemoryRelation
Arguments: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@685dbe62,StorageLevel(disk, memory, deserialized, 1 replicas),AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(2) SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339499, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339500L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339501, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339502L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@6e0d3b1d, value#3339493.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3339493], [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L], obj#3339498: org.apache.spark.sql.delta.SerializableFileStatus
+- *(1) Sort [value#3339493 ASC NULLS FIRST], false, 0
+- ShuffleQueryStage 0
+- Exchange hashpartitioning(value#3339493, 200), ENSURE_REQUIREMENTS, [plan_id=3011580]
+- AppendColumnsWithObject org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6931/0x0000000801d1d990@4e6d2c38, [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339483, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339484L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339485, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339486L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3339493]
+- Scan[obj#3339482]
+- == Initial Plan ==
SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339499, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339500L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339501, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339502L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@6e0d3b1d, value#3339493.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3339493], [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L], obj#3339498: org.apache.spark.sql.delta.SerializableFileStatus
+- Sort [value#3339493 ASC NULLS FIRST], false, 0
+- Exchange hashpartitioning(value#3339493, 200), ENSURE_REQUIREMENTS, [plan_id=3011580]
+- AppendColumnsWithObject org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6931/0x0000000801d1d990@4e6d2c38, [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339483, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339484L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339485, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339486L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3339493]
+- Scan[obj#3339482]
,None)
(11) Scan
Output [1]: [obj#3339482]
Arguments: obj#3339482: org.apache.spark.sql.delta.SerializableFileStatus, MapPartitionsRDD[205407] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128
(12) AppendColumnsWithObject
Input [1]: [obj#3339482]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6931/0x0000000801d1d990@4e6d2c38, [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339483, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339484L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339485, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339486L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3339493]
(13) Exchange
Input [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: hashpartitioning(value#3339493, 200), ENSURE_REQUIREMENTS, [plan_id=3011580]
(14) ShuffleQueryStage
Output [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: 0
(15) Sort [codegen id : 1]
Input [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: [value#3339493 ASC NULLS FIRST], false, 0
(16) MapGroups
Input [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@6e0d3b1d, value#3339493.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3339493], [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L], obj#3339498: org.apache.spark.sql.delta.SerializableFileStatus
(17) SerializeFromObject [codegen id : 2]
Input [1]: [obj#3339498]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339499, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339500L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339501, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339502L]
(18) Sort
Input [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: [value#3339493 ASC NULLS FIRST], false, 0
(19) MapGroups
Input [5]: [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L, value#3339493]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@6e0d3b1d, value#3339493.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3339493], [path#3339483, length#3339484L, isDir#3339485, modificationTime#3339486L], obj#3339498: org.apache.spark.sql.delta.SerializableFileStatus
(20) SerializeFromObject
Input [1]: [obj#3339498]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).path, true, false, true) AS path#3339499, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3339500L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3339501, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3339502L]
(21) AdaptiveSparkPlan
Output [4]: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L]
Arguments: isFinalPlan=true
(22) Filter
Input [4]: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L]
Condition : ((modificationTime#3339502L < 1777062979120) OR isDir#3339501)
(23) DeserializeToObject
Input [4]: [path#3339499, length#3339500L, isDir#3339501, modificationTime#3339502L]
Arguments: newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), obj#3339649: org.apache.spark.sql.delta.SerializableFileStatus
(24) MapPartitions
Input [1]: [obj#3339649]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6969/0x0000000801d1eaf8@555e3c36, obj#3339650: org.apache.spark.sql.delta.commands.VacuumCommand$FileNameAndSize
(25) SerializeFromObject
Input [1]: [obj#3339650]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.commands.VacuumCommand$FileNameAndSize, true])).path, true, false, true) AS path#3339651]
(26) HashAggregate
Input [1]: [path#3339651]
Keys [1]: [path#3339651]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3339733L]
Results [2]: [path#3339651, count#3339735L]
(27) Exchange
Input [2]: [path#3339651, count#3339735L]
Arguments: hashpartitioning(path#3339651, 200), ENSURE_REQUIREMENTS, [plan_id=3012090]
(28) HashAggregate
Input [2]: [path#3339651, count#3339735L]
Keys [1]: [path#3339651]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3339655L]
Results [2]: [path#3339651, count(1)#3339655L AS count#3339656L]
(29) Filter
Input [2]: [path#3339651, count#3339656L]
Condition : (count#3339656L = 1)
(30) Project
Output [1]: [path#3339651]
Input [2]: [path#3339651, count#3339656L]
(31) Sort
Input [1]: [path#3339651]
Arguments: [path#3339651 ASC NULLS FIRST], false, 0
(32) Scan ExistingRDD Delta Table State #22 - hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-workload-determination-service/in/workload-dupl-lock-v2/_delta_log [codegen id : 1]
Output [10]: [txn#783482, add#783483, remove#783484, metaData#783485, protocol#783486, cdc#783487, checkpointMetadata#783488, sidecar#783489, domainMetadata#783490, commitInfo#783491]
Arguments: [txn#783482, add#783483, remove#783484, metaData#783485, protocol#783486, cdc#783487, checkpointMetadata#783488, sidecar#783489, domainMetadata#783490, commitInfo#783491], Delta Table State #22 - hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-workload-determination-service/in/workload-dupl-lock-v2/_delta_log MapPartitionsRDD[47137] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128, ExistingRDD, UnknownPartitioning(0)
(33) DeserializeToObject
Input [10]: [txn#783482, add#783483, remove#783484, metaData#783485, protocol#783486, cdc#783487, checkpointMetadata#783488, sidecar#783489, domainMetadata#783490, commitInfo#783491]
Arguments: newInstance(class org.apache.spark.sql.delta.actions.SingleAction), obj#3339473: org.apache.spark.sql.delta.actions.SingleAction
(34) MapPartitions
Input [1]: [obj#3339473]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6916/0x0000000801d1c078@1aafb1c3, obj#3339474: java.lang.String
(35) SerializeFromObject
Input [1]: [obj#3339474]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3339475]
(36) Filter
Input [1]: [value#3339475]
Condition : isnotnull(value#3339475)
(37) Project
Output [1]: [value#3339475 AS path#3339476]
Input [1]: [value#3339475]
(38) Exchange
Input [1]: [path#3339476]
Arguments: hashpartitioning(path#3339476, 200), ENSURE_REQUIREMENTS, [plan_id=3012096]
(39) Sort
Input [1]: [path#3339476]
Arguments: [path#3339476 ASC NULLS FIRST], false, 0
(40) SortMergeJoin
Left keys [1]: [path#3339651]
Right keys [1]: [path#3339476]
Join type: LeftAnti
Join condition: None
(41) DeserializeToObject
Input [1]: [path#3339651]
Arguments: path#3339651.toString, obj#3339793: java.lang.String
(42) MapElements
Input [1]: [obj#3339793]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6994/0x0000000801d1eed8@1cd3814d, obj#3339794: java.lang.String
(43) SerializeFromObject
Input [1]: [obj#3339794]
(44) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3339862L]
Results [1]: [count#3339863L]
(45) Exchange
Input [1]: [count#3339863L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=3012105]
(46) HashAggregate
Input [1]: [count#3339863L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3339799L]
Results [1]: [count(1)#3339799L AS count#3339800L]
(47) AdaptiveSparkPlan
Output [1]: [count#3339800L]
Arguments: isFinalPlan=true