jchen5 commented on PR #35975:
URL: https://github.com/apache/spark/pull/35975#issuecomment-1098595706

   Thanks for implementing this!
   
   For the OFFSET with not LIMIT case, you say:
   
   > If offset is very large, will generate a lot of overhead. So this PR will 
refuse use offset clause without limit clause, although we can parse, transform 
and execute it.
   
   Would it have worse performance compared to the same query without OFFSET? 
In theory OFFSET should be no worse than a full no-LIMIT no-OFFSET query 
because we can just skip the first n rows? However, I agree that this doesn't 
seem like an important case and it's ok not to support it for now.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to