I have used window functions in postgres with the ignore nulls clause to carry forward the last non-null observation in a result set. I am trying to port my sql from postgre