Add and debug window function(The behavior of GPDB's window function is weired)