[NO ISSUE][BAD] Coordinated change for window functions (ASTERIXDB-2488)