Adding "partition by" support for window functions