Added flag in window operation to use partition awaare union.