Attaching updated patch with a fix for an issue in window function.
I have also fixed naming convention of patch as last patch had incompatible name.
Note:
1. Pending: Investigation of test cases failures.
Regards,
Ankit