== Physical Plan ==
AdaptiveSparkPlan (42)
+- == Final Plan ==
* HashAggregate (5)
+- ShuffleQueryStage (4), Statistics(sizeInBytes=0.0 B, rowCount=0)
+- Exchange (3)
+- * HashAggregate (2)
+- * LocalTableScan (1)
+- == Initial Plan ==
HashAggregate (41)
+- Exchange (40)
+- HashAggregate (39)
+- Project (38)
+- SortMergeJoin LeftAnti (37)
:- Sort (28)
: +- Project (27)
: +- Filter (26)
: +- HashAggregate (25)
: +- Exchange (24)
: +- HashAggregate (23)
: +- SerializeFromObject (22)
: +- MapPartitions (21)
: +- DeserializeToObject (20)
: +- Filter (19)
: +- InMemoryTableScan (6)
: +- InMemoryRelation (7)
: +- AdaptiveSparkPlan (18)
+- == Final Plan ==
* SerializeFromObject (14)
+- MapGroups (13)
+- * Sort (12)
+- ShuffleQueryStage (11), Statistics(sizeInBytes=0.0 B, rowCount=0)
+- Exchange (10)
+- AppendColumnsWithObject (9)
+- Scan (8)
+- == Initial Plan ==
SerializeFromObject (17)
+- MapGroups (16)
+- Sort (15)
+- Exchange (10)
+- AppendColumnsWithObject (9)
+- Scan (8)
+- Sort (36)
+- Exchange (35)
+- Project (34)
+- Filter (33)
+- SerializeFromObject (32)
+- MapPartitions (31)
+- DeserializeToObject (30)
+- 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 (29)
(1) LocalTableScan [codegen id : 5]
Output [1]: [length#3223186L]
Arguments: <empty>, [length#3223186L]
(2) HashAggregate [codegen id : 5]
Input [1]: [length#3223186L]
Keys: []
Functions [1]: [partial_sum(length#3223186L)]
Aggregate Attributes [1]: [sum#3223259L]
Results [1]: [sum#3223260L]
(3) Exchange
Input [1]: [sum#3223260L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=2924026]
(4) ShuffleQueryStage
Output [1]: [sum#3223260L]
Arguments: 3
(5) HashAggregate [codegen id : 6]
Input [1]: [sum#3223260L]
Keys: []
Functions [1]: [sum(length#3223186L)]
Aggregate Attributes [1]: [sum(length#3223186L)#3223193L]
Results [1]: [sum(length#3223186L)#3223193L AS CAST(sum(length) AS BIGINT)#3223197L]
(6) InMemoryTableScan
Output [4]: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L]
Arguments: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L], [((modificationTime#3223030L < 1777022074560) OR isDir#3223029)]
(7) InMemoryRelation
Arguments: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L], 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#3223027, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223028L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223029, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223030L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@1c27c87b, value#3223021.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3223021], [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L], obj#3223026: org.apache.spark.sql.delta.SerializableFileStatus
+- *(1) Sort [value#3223021 ASC NULLS FIRST], false, 0
+- ShuffleQueryStage 0
+- Exchange hashpartitioning(value#3223021, 200), ENSURE_REQUIREMENTS, [plan_id=2923605]
+- 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#3223011, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223012L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223013, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223014L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3223021]
+- Scan[obj#3223010]
+- == 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#3223027, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223028L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223029, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223030L]
+- MapGroups org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@1c27c87b, value#3223021.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3223021], [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L], obj#3223026: org.apache.spark.sql.delta.SerializableFileStatus
+- Sort [value#3223021 ASC NULLS FIRST], false, 0
+- Exchange hashpartitioning(value#3223021, 200), ENSURE_REQUIREMENTS, [plan_id=2923605]
+- 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#3223011, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223012L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223013, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223014L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3223021]
+- Scan[obj#3223010]
,None)
(8) Scan
Output [1]: [obj#3223010]
Arguments: obj#3223010: org.apache.spark.sql.delta.SerializableFileStatus, MapPartitionsRDD[198438] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128
(9) AppendColumnsWithObject
Input [1]: [obj#3223010]
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#3223011, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223012L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223013, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223014L], [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3223021]
(10) Exchange
Input [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: hashpartitioning(value#3223021, 200), ENSURE_REQUIREMENTS, [plan_id=2923605]
(11) ShuffleQueryStage
Output [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: 0
(12) Sort [codegen id : 1]
Input [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: [value#3223021 ASC NULLS FIRST], false, 0
(13) MapGroups
Input [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@1c27c87b, value#3223021.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3223021], [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L], obj#3223026: org.apache.spark.sql.delta.SerializableFileStatus
(14) SerializeFromObject [codegen id : 2]
Input [1]: [obj#3223026]
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#3223027, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223028L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223029, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223030L]
(15) Sort
Input [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: [value#3223021 ASC NULLS FIRST], false, 0
(16) MapGroups
Input [5]: [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L, value#3223021]
Arguments: org.apache.spark.sql.KeyValueGroupedDataset$$Lambda$6934/0x0000000801d21280@1c27c87b, value#3223021.toString, newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), [value#3223021], [path#3223011, length#3223012L, isDir#3223013, modificationTime#3223014L], obj#3223026: org.apache.spark.sql.delta.SerializableFileStatus
(17) SerializeFromObject
Input [1]: [obj#3223026]
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#3223027, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).length AS length#3223028L, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).isDir AS isDir#3223029, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.SerializableFileStatus, true])).modificationTime AS modificationTime#3223030L]
(18) AdaptiveSparkPlan
Output [4]: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L]
Arguments: isFinalPlan=true
(19) Filter
Input [4]: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L]
Condition : ((modificationTime#3223030L < 1777022074560) OR isDir#3223029)
(20) DeserializeToObject
Input [4]: [path#3223027, length#3223028L, isDir#3223029, modificationTime#3223030L]
Arguments: newInstance(class org.apache.spark.sql.delta.SerializableFileStatus), obj#3223177: org.apache.spark.sql.delta.SerializableFileStatus
(21) MapPartitions
Input [1]: [obj#3223177]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6969/0x0000000801d1eaf8@16c1414, obj#3223178: org.apache.spark.sql.delta.commands.VacuumCommand$FileNameAndSize
(22) SerializeFromObject
Input [1]: [obj#3223178]
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#3223179, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.delta.commands.VacuumCommand$FileNameAndSize, true])).length AS length#3223180L]
(23) HashAggregate
Input [2]: [path#3223179, length#3223180L]
Keys [1]: [path#3223179]
Functions [2]: [partial_count(1), partial_sum(length#3223180L)]
Aggregate Attributes [2]: [count#3223261L, sum#3223262L]
Results [3]: [path#3223179, count#3223263L, sum#3223264L]
(24) Exchange
Input [3]: [path#3223179, count#3223263L, sum#3223264L]
Arguments: hashpartitioning(path#3223179, 200), ENSURE_REQUIREMENTS, [plan_id=2923772]
(25) HashAggregate
Input [3]: [path#3223179, count#3223263L, sum#3223264L]
Keys [1]: [path#3223179]
Functions [2]: [count(1), sum(length#3223180L)]
Aggregate Attributes [2]: [count(1)#3223183L, sum(length#3223180L)#3223185L]
Results [3]: [path#3223179, count(1)#3223183L AS count#3223184L, sum(length#3223180L)#3223185L AS length#3223186L]
(26) Filter
Input [3]: [path#3223179, count#3223184L, length#3223186L]
Condition : (count#3223184L = 1)
(27) Project
Output [2]: [path#3223179, length#3223186L]
Input [3]: [path#3223179, count#3223184L, length#3223186L]
(28) Sort
Input [2]: [path#3223179, length#3223186L]
Arguments: [path#3223179 ASC NULLS FIRST], false, 0
(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 [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)
(30) 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#3223001: org.apache.spark.sql.delta.actions.SingleAction
(31) MapPartitions
Input [1]: [obj#3223001]
Arguments: org.apache.spark.sql.delta.commands.VacuumCommand$$$Lambda$6916/0x0000000801d1c078@6e6d5ba0, obj#3223002: java.lang.String
(32) SerializeFromObject
Input [1]: [obj#3223002]
Arguments: [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, input[0, java.lang.String, true], true, false, true) AS value#3223003]
(33) Filter
Input [1]: [value#3223003]
Condition : isnotnull(value#3223003)
(34) Project
Output [1]: [value#3223003 AS path#3223004]
Input [1]: [value#3223003]
(35) Exchange
Input [1]: [path#3223004]
Arguments: hashpartitioning(path#3223004, 200), ENSURE_REQUIREMENTS, [plan_id=2923778]
(36) Sort
Input [1]: [path#3223004]
Arguments: [path#3223004 ASC NULLS FIRST], false, 0
(37) SortMergeJoin
Left keys [1]: [path#3223179]
Right keys [1]: [path#3223004]
Join type: LeftAnti
Join condition: None
(38) Project
Output [1]: [length#3223186L]
Input [2]: [path#3223179, length#3223186L]
(39) HashAggregate
Input [1]: [length#3223186L]
Keys: []
Functions [1]: [partial_sum(length#3223186L)]
Aggregate Attributes [1]: [sum#3223259L]
Results [1]: [sum#3223260L]
(40) Exchange
Input [1]: [sum#3223260L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=2923785]
(41) HashAggregate
Input [1]: [sum#3223260L]
Keys: []
Functions [1]: [sum(length#3223186L)]
Aggregate Attributes [1]: [sum(length#3223186L)#3223193L]
Results [1]: [sum(length#3223186L)#3223193L AS CAST(sum(length) AS BIGINT)#3223197L]
(42) AdaptiveSparkPlan
Output [1]: [CAST(sum(length) AS BIGINT)#3223197L]
Arguments: isFinalPlan=true