Fix bug: Allow partitioning spec for functions that do not support windowing