[ 
https://issues.apache.org/jira/browse/CALCITE-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283926#comment-15283926
 ] 

Julian Hyde commented on CALCITE-1235:
--------------------------------------

I think you could easily support LIMIT+OFFSET and empty sort key, e.g. {{select 
* from "users" limit 3 offset 2}}, pushing "limit 5" down to cassandra if 
cassandra doesn't support offset. It's worth adding that test case either way.

Similarly, I don't know whether cassandra supports sort+LIMIT (i.e. sort with 
LIMIT and non-empty sort key) but you should add the test case whether or not 
you push sort+limit down, just to make sure that nothing bad happens.

> Push down LIMIT in unfiltered Cassandra queries
> -----------------------------------------------
>
>                 Key: CALCITE-1235
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1235
>             Project: Calcite
>          Issue Type: Improvement
>          Components: cassandra
>    Affects Versions: 1.7.0
>            Reporter: Michael Mior
>            Assignee: Michael Mior
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to