OFFSET on AWS Athena
I would like to run a query on AWS Athena with both a LIMIT and an OFFSET clause. I take it the former is supported while the latter is not . Is there any way of emulating this functionality using other methods? Using OFFSET for pagination is very inefficient, especially for an analytic database like Presto that often has to perform a full table or partition scan. Additionally, the results will not necessarily be consistent between queries, so you can have duplicate or missing results when navigating between pages. In an OLTP database like MySQL or PostgreSQL, it's better to use a range query