== 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#3672, partitionValues#3673, size#3674L, modificationTime#3675L, dataChange#3676, stats#3683, tags#3678, deletionVector#3679, baseRowId#3680L, defaultRowCommitVersion#3681L, clusteringProvider#3682]
Arguments: [path#3672, partitionValues#3673, size#3674L, modificationTime#3675L, dataChange#3676, stats#3683, tags#3678, deletionVector#3679, baseRowId#3680L, defaultRowCommitVersion#3681L, clusteringProvider#3682], 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[206] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128, ExistingRDD, UnknownPartitioning(0)
(2) Filter [codegen id : 1]
Input [11]: [path#3672, partitionValues#3673, size#3674L, modificationTime#3675L, dataChange#3676, stats#3683, tags#3678, deletionVector#3679, baseRowId#3680L, defaultRowCommitVersion#3681L, clusteringProvider#3682]
Condition : ((UDF(true, size#3674L, (stats#3683.numRecords - coalesce(deletionVector#3679.cardinality, 0)), stats#3683.numRecords) AND UDF(true, size#3674L, (stats#3683.numRecords - coalesce(deletionVector#3679.cardinality, 0)), stats#3683.numRecords)) AND if (isnull((((stats#3683.nullCount.plant.internalRefUUID < stats#3683.numRecords) AND (stats#3683.nullCount.product.internalRefUUID < stats#3683.numRecords)) OR ((isnull(stats#3683.nullCount.plant.internalRefUUID) OR isnull(stats#3683.numRecords)) OR isnull(stats#3683.nullCount.product.internalRefUUID))))) false else UDF(knownnotnull((((stats#3683.nullCount.plant.internalRefUUID < stats#3683.numRecords) AND (stats#3683.nullCount.product.internalRefUUID < stats#3683.numRecords)) OR ((isnull(stats#3683.nullCount.plant.internalRefUUID) OR isnull(stats#3683.numRecords)) OR isnull(stats#3683.nullCount.product.internalRefUUID)))), size#3674L, (stats#3683.numRecords - coalesce(deletionVector#3679.cardinality, 0)), stats#3683.numRecords))
(3) Project [codegen id : 1]
Output [11]: [path#3672, partitionValues#3673, size#3674L, modificationTime#3675L, dataChange#3676, null AS stats#3726, tags#3678, deletionVector#3679, baseRowId#3680L, defaultRowCommitVersion#3681L, clusteringProvider#3682]
Input [11]: [path#3672, partitionValues#3673, size#3674L, modificationTime#3675L, dataChange#3676, stats#3683, tags#3678, deletionVector#3679, baseRowId#3680L, defaultRowCommitVersion#3681L, clusteringProvider#3682]