> I agree about nth_value() with RESPECT NULLS. It has always worked
> this way.
>
> But for ROWS frames row_is_in_frame() can tell from the position
> alone that the row is out of frame. The attached patch moves that call
> back in front of the partition end check. Fujii-san's query returns
> NULL again, and the loop from the original report still ends.
Thanks for the patch. I had thought about a similar fix but still am
not convinced it's worth the trouble.
Let's continue the discussion on it after 19 GA is out.
Regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp