Hi.
Are there plans to support new window functions?
For example, Nth value functions.
- FIRST_VALUE
- LAST_VALUE
- NTH_VALUE
Hi.
Are there plans to support new window functions?
For example, Nth value functions.
It seems that “first_value” and “last_value” functions are available, but they are not mentioned in the documentation.
Most importantly, there is no “nth_value” function
@bigfacewo Sorry about the delay, I was OOO. Let me see if we can add it to the docs and f there is an enhancement request for NTH_VALUE
@balaji.ramaswamy Can you confirm whether the “nth_value” function is supported? When I use only one parameter, I will be prompted that the parameter is wrong. When I complete the parameters (two parameters), I will be prompted that I cannot find a matching function.
Thanks for the profile @bigfacewo NTH value does not seem to be there, let me check internally and get back to you
@bigfacewo There was a ticket put to fix the docs so we can follow the right syntax, but I am getting failure finding function, so I have checked internally on the ticket
Did you find any way to do the Nth_Value ?
@Maziha Something like this?
To find 3rd highest salary
select * from(
select emp_name, emp_salary, dense_rank()
over(order by emp_salary desc)r from Emp)
where r=3;
May I ask if there are any plans to support the “NTH_VALUE” function now? This function is very important.