== Physical Plan ==
* Project (3)
+- * Filter (2)
+- * Scan ExistingRDD Delta Table State with Stats #1 - hdlfs://9b46f9d5-066e-49af-bc5c-7af37534ca4d.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-inventory-inventorysnapshot-v2/_delta_log (1)
(1) Scan ExistingRDD Delta Table State with Stats #1 - hdlfs://9b46f9d5-066e-49af-bc5c-7af37534ca4d.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-inventory-inventorysnapshot-v2/_delta_log [codegen id : 1]
Output [11]: [path#28459, partitionValues#28460, size#28461L, modificationTime#28462L, dataChange#28463, stats#28470, tags#28465, deletionVector#28466, baseRowId#28467L, defaultRowCommitVersion#28468L, clusteringProvider#28469]
Arguments: [path#28459, partitionValues#28460, size#28461L, modificationTime#28462L, dataChange#28463, stats#28470, tags#28465, deletionVector#28466, baseRowId#28467L, defaultRowCommitVersion#28468L, clusteringProvider#28469], Delta Table State with Stats #1 - hdlfs://9b46f9d5-066e-49af-bc5c-7af37534ca4d.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-inventory-inventorysnapshot-v2/_delta_log MapPartitionsRDD[1481] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128, ExistingRDD, UnknownPartitioning(0)
(2) Filter [codegen id : 1]
Input [11]: [path#28459, partitionValues#28460, size#28461L, modificationTime#28462L, dataChange#28463, stats#28470, tags#28465, deletionVector#28466, baseRowId#28467L, defaultRowCommitVersion#28468L, clusteringProvider#28469]
Condition : ((UDF(true, size#28461L, (stats#28470.numRecords - coalesce(deletionVector#28466.cardinality, 0)), stats#28470.numRecords) AND UDF(true, size#28461L, (stats#28470.numRecords - coalesce(deletionVector#28466.cardinality, 0)), stats#28470.numRecords)) AND if (isnull((((stats#28470.nullCount.plant.internalRefUUID < stats#28470.numRecords) AND (stats#28470.nullCount.product.internalRefUUID < stats#28470.numRecords)) OR ((isnull(stats#28470.nullCount.plant.internalRefUUID) OR isnull(stats#28470.numRecords)) OR isnull(stats#28470.nullCount.product.internalRefUUID))))) false else UDF(knownnotnull((((stats#28470.nullCount.plant.internalRefUUID < stats#28470.numRecords) AND (stats#28470.nullCount.product.internalRefUUID < stats#28470.numRecords)) OR ((isnull(stats#28470.nullCount.plant.internalRefUUID) OR isnull(stats#28470.numRecords)) OR isnull(stats#28470.nullCount.product.internalRefUUID)))), size#28461L, (stats#28470.numRecords - coalesce(deletionVector#28466.cardinality, 0)), stats#28470.numRecords))
(3) Project [codegen id : 1]
Output [11]: [path#28459, partitionValues#28460, size#28461L, modificationTime#28462L, dataChange#28463, null AS stats#34417, tags#28465, deletionVector#28466, baseRowId#28467L, defaultRowCommitVersion#28468L, clusteringProvider#28469]
Input [11]: [path#28459, partitionValues#28460, size#28461L, modificationTime#28462L, dataChange#28463, stats#28470, tags#28465, deletionVector#28466, baseRowId#28467L, defaultRowCommitVersion#28468L, clusteringProvider#28469]