arkanovicz opened a new pull request, #4040:
URL: https://github.com/apache/calcite/pull/4040
The query
```
select lead(n_nationkey) over (partition by n_regionkey order by n_nationkey
rows between current row and 1 following) from nation
```
fails with the error message
```
ROW/RANGE not allowed with RANK, DENSE_RANK, ROW_NUMBER or
PERCENTILE_CONT/DISC function
```
whereas it should also reference the LAG/LEAD functions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]