== 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#53093, partitionValues#53094, size#53095L, modificationTime#53096L, dataChange#53097, stats#53104, tags#53099, deletionVector#53100, baseRowId#53101L, defaultRowCommitVersion#53102L, clusteringProvider#53103]
Arguments: [path#53093, partitionValues#53094, size#53095L, modificationTime#53096L, dataChange#53097, stats#53104, tags#53099, deletionVector#53100, baseRowId#53101L, defaultRowCommitVersion#53102L, clusteringProvider#53103], 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[2756] at $anonfun$recordDeltaOperationInternal$1 at DatabricksLogging.scala:128, ExistingRDD, UnknownPartitioning(0)
(2) Filter [codegen id : 1]
Input [11]: [path#53093, partitionValues#53094, size#53095L, modificationTime#53096L, dataChange#53097, stats#53104, tags#53099, deletionVector#53100, baseRowId#53101L, defaultRowCommitVersion#53102L, clusteringProvider#53103]
Condition : ((UDF(true, size#53095L, (stats#53104.numRecords - coalesce(deletionVector#53100.cardinality, 0)), stats#53104.numRecords) AND UDF(true, size#53095L, (stats#53104.numRecords - coalesce(deletionVector#53100.cardinality, 0)), stats#53104.numRecords)) AND if (isnull((((stats#53104.nullCount.plant.internalRefUUID < stats#53104.numRecords) AND (stats#53104.nullCount.product.internalRefUUID < stats#53104.numRecords)) OR ((isnull(stats#53104.nullCount.plant.internalRefUUID) OR isnull(stats#53104.numRecords)) OR isnull(stats#53104.nullCount.product.internalRefUUID))))) false else UDF(knownnotnull((((stats#53104.nullCount.plant.internalRefUUID < stats#53104.numRecords) AND (stats#53104.nullCount.product.internalRefUUID < stats#53104.numRecords)) OR ((isnull(stats#53104.nullCount.plant.internalRefUUID) OR isnull(stats#53104.numRecords)) OR isnull(stats#53104.nullCount.product.internalRefUUID)))), size#53095L, (stats#53104.numRecords - coalesce(deletionVector#53100.cardinality, 0)), stats#53104.numRecords))
(3) Project [codegen id : 1]
Output [11]: [path#53093, partitionValues#53094, size#53095L, modificationTime#53096L, dataChange#53097, null AS stats#59051, tags#53099, deletionVector#53100, baseRowId#53101L, defaultRowCommitVersion#53102L, clusteringProvider#53103]
Input [11]: [path#53093, partitionValues#53094, size#53095L, modificationTime#53096L, dataChange#53097, stats#53104, tags#53099, deletionVector#53100, baseRowId#53101L, defaultRowCommitVersion#53102L, clusteringProvider#53103]