Description
I am exploring the code and came across this situation which I can't decide if it's intended or not. Programatically, I create a JdbcSchema on a Calcite driver connection, and then execute a single query. I have a breakpoint in the postgres driver, because I wanted to see how the queries end up before they're sent to PG. So I started simple, select * from X id = 'foo', which works great. Then I did a select * from X limit 10. And I noticed I was getting the correct number of rows back, but when sending to PG it would just send select * from X and then looks like the enumerable code (linq4j) would then chop off the results. Is there a way to change this behavior, or is this intended?
Attachments
Issue Links
- duplicates
-
CALCITE-1265 In JDBC adapter, push OFFSET and FETCH to data source
- Closed
- relates to
-
CALCITE-1265 In JDBC adapter, push OFFSET and FETCH to data source
- Closed