Will consecutive delete insert affect z-ordering?

shubhadip
New Contributor

Let's say there is a delta table with a date field as its partition. In a table where condition, we delete all the rows according to the division. The data is currently being inserted into the same date field. If we do a z-order after inserting the data, are earlier files also contributing to the z-order process? Because deleting the rows will affect the logs, but the actual file will still exist.