== Physical Plan ==
AdaptiveSparkPlan (40)
+- == Final Plan ==
* SerializeFromObject (4)
+- * MapElements (3)
+- * DeserializeToObject (2)
+- * LocalTableScan (1)
+- == Initial Plan ==
SerializeFromObject (39)
+- MapElements (38)
+- DeserializeToObject (37)
+- SortMergeJoin LeftAnti (36)
:- Sort (27)
: +- Project (26)
: +- Filter (25)
: +- HashAggregate (24)
: +- Exchange (23)
: +- HashAggregate (22)
: +- SerializeFromObject (21)
: +- MapPartitions (20)
: +- DeserializeToObject (19)
: +- Filter (18)
: +- InMemoryTableScan (5)
: +- InMemoryRelation (6)
: +- AdaptiveSparkPlan (17)
+- == Final Plan ==
* SerializeFromObject (13)
+- MapGroups (12)
+- * Sort (11)
+- ShuffleQueryStage (10), Statistics(sizeInBytes=0.0 B, rowCount=0)
+- Exchange (9)
+- AppendColumnsWithObject (8)
+- Scan (7)
+- == Initial Plan ==
SerializeFromObject (16)
+- MapGroups (15)
+- Sort (14)
+- Exchange (9)
+- AppendColumnsWithObject (8)
+- Scan (7)
+- Sort (35)
+- Exchange (34)
+- Project (33)
+- Filter (32)
+- SerializeFromObject (31)
+- MapPartitions (30)
+- DeserializeToObject (29)
+- 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 (28)
(1) LocalTableScan [codegen id : 5]
Output [1]: [path#3240059]
Arguments: <empty>, [path#3240059]
(2) DeserializeToObject [codegen id : 5]
Input [1]: [path#3240059]
Arguments: path#3240059.toString, obj#3240201: java.lang.String
(3) MapElements [codegen id : 5]
Input [1]: [obj#3240201]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6994/0x0000000801d1eed8@21fad74f, obj#3240202: java.lang.String
(4) SerializeFromObject [codegen id : 5]
Input [1]: [obj#3240202]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3240203]
(5) InMemoryTableScan
Output [4]: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L]
Arguments: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L], [((modificationTime#3239910L < 1777028371382) OR isDir#3239909)]
(6) InMemoryRelation
Arguments: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L], 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#3239907, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239908L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239909, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239910L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@efb8d9b, value#3239901.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3239901], [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L], obj#3239906: org.apache.spark.sql.delta.SerializableFileStatus
+- *(1) Sort [value#3239901 ASC NULLS FIRST], false, 0
+- ShuffleQueryStage 0
+- Exchange hashpartitioning(value#3239901, 200), ENSURE_REQUIREMENTS, [plan_id=2936355]
+- 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#3239891, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239892L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239893, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239894L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3239901]
+- Scan[obj#3239890]
+- == 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#3239907, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239908L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239909, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239910L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@efb8d9b, value#3239901.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3239901], [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L], obj#3239906: org.apache.spark.sql.delta.SerializableFileStatus
+- Sort [value#3239901 ASC NULLS FIRST], false, 0
+- Exchange hashpartitioning(value#3239901, 200), ENSURE_REQUIREMENTS, [plan_id=2936355]
+- 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#3239891, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239892L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239893, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239894L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3239901]
+- Scan[obj#3239890]
,None)
(7) Scan
Output [1]: [obj#3239890]
Arguments: obj#3239890: org.apache.spark.sql.delta.SerializableFileStatus, MapPartitionsRDD[199448] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128
(8) AppendColumnsWithObject
Input [1]: [obj#3239890]
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#3239891, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239892L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239893, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239894L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3239901]
(9) Exchange
Input [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: hashpartitioning(value#3239901, 200), ENSURE_REQUIREMENTS, [plan_id=2936355]
(10) ShuffleQueryStage
Output [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: 0
(11) Sort [codegen id : 1]
Input [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: [value#3239901 ASC NULLS FIRST], false, 0
(12) MapGroups
Input [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@efb8d9b, value#3239901.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3239901], [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L], obj#3239906: org.apache.spark.sql.delta.SerializableFileStatus
(13) SerializeFromObject [codegen id : 2]
Input [1]: [obj#3239906]
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#3239907, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239908L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239909, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239910L]
(14) Sort
Input [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: [value#3239901 ASC NULLS FIRST], false, 0
(15) MapGroups
Input [5]: [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L, value#3239901]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@efb8d9b, value#3239901.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3239901], [path#3239891, length#3239892L, isDir#3239893, modificationTime#3239894L], obj#3239906: org.apache.spark.sql.delta.SerializableFileStatus
(16) SerializeFromObject
Input [1]: [obj#3239906]
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#3239907, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3239908L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3239909, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3239910L]
(17) AdaptiveSparkPlan
Output [4]: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L]
Arguments: isFinalPlan=true
(18) Filter
Input [4]: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L]
Condition : ((modificationTime#3239910L < 1777028371382) OR isDir#3239909)
(19) DeserializeToObject
Input [4]: [path#3239907, length#3239908L, isDir#3239909, modificationTime#3239910L]
Arguments: newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), obj#3240057: org.apache.spark.sql.delta.SerializableFileStatus
(20) MapPartitions
Input [1]: [obj#3240057]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6969/0x0000000801d1eaf8@70d8c3c, obj#3240058: org.apache.spark.sql.delta.commands.VacuumCommand$FileNameAndSize
(21) SerializeFromObject
Input [1]: [obj#3240058]
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#3240059]
(22) HashAggregate
Input [1]: [path#3240059]
Keys [1]: [path#3240059]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3240141L]
Results [2]: [path#3240059, count#3240143L]
(23) Exchange
Input [2]: [path#3240059, count#3240143L]
Arguments: hashpartitioning(path#3240059, 200), ENSURE_REQUIREMENTS, [plan_id=2937244]
(24) HashAggregate
Input [2]: [path#3240059, count#3240143L]
Keys [1]: [path#3240059]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3240063L]
Results [2]: [path#3240059, count(1)#3240063L AS count#3240064L]
(25) Filter
Input [2]: [path#3240059, count#3240064L]
Condition : (count#3240064L = 1)
(26) Project
Output [1]: [path#3240059]
Input [2]: [path#3240059, count#3240064L]
(27) Sort
Input [1]: [path#3240059]
Arguments: [path#3240059 ASC NULLS FIRST], false, 0
(28) 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)
(29) 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#3239881: org.apache.spark.sql.delta.actions.SingleAction
(30) MapPartitions
Input [1]: [obj#3239881]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6916/0x0000000801d1c078@38349751, obj#3239882: java.lang.String
(31) SerializeFromObject
Input [1]: [obj#3239882]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3239883]
(32) Filter
Input [1]: [value#3239883]
Condition : isnotnull(value#3239883)
(33) Project
Output [1]: [value#3239883 AS path#3239884]
Input [1]: [value#3239883]
(34) Exchange
Input [1]: [path#3239884]
Arguments: hashpartitioning(path#3239884, 200), ENSURE_REQUIREMENTS, [plan_id=2937250]
(35) Sort
Input [1]: [path#3239884]
Arguments: [path#3239884 ASC NULLS FIRST], false, 0
(36) SortMergeJoin
Left keys [1]: [path#3240059]
Right keys [1]: [path#3239884]
Join type: LeftAnti
Join condition: None
(37) DeserializeToObject
Input [1]: [path#3240059]
Arguments: path#3240059.toString, obj#3240201: java.lang.String
(38) MapElements
Input [1]: [obj#3240201]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6994/0x0000000801d1eed8@21fad74f, obj#3240202: java.lang.String
(39) SerializeFromObject
Input [1]: [obj#3240202]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3240203]
(40) AdaptiveSparkPlan
Output [1]: [value#3240203]
Arguments: isFinalPlan=true