beliefer opened a new pull request, #39954: URL: https://github.com/apache/spark/pull/39954
### What changes were proposed in this pull request? Currently, DS V2 pushdown force push down LIMIT clause and OFFSET clause to underlying databases. The behavior is not correct. For example, Oracle and MsSQLServer doesn't support LIMIT clause. DS V2 pushdown could let JDBC dialect decide to push down offset and limit. ### Why are the changes needed? 1. If the underlying database don't support LIMIT clause or OFFSET clause, the corresponding dialect could rejects push down them. 2. Although some underlying database don't support LIMIT clause or OFFSET clause, the corresponding dialect have a lot of trick to finish the same function. ### Does this PR introduce _any_ user-facing change? 'No'. New feature. ### How was this patch tested? New test cases. -- 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]
