You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/09/29 15:08:04 UTC

[jira] [Updated] (OAK-3458) Add support for the LIMIT and OFFSET SQL clauses

     [ https://issues.apache.org/jira/browse/OAK-3458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu updated OAK-3458:
------------------------------
    Attachment: OAK-3458.1.patch

[~tmueller], I've attached a simple patch ([^OAK-3458.1.patch]) that provides support for LIMIT and OFFSET for the main query. Should the patch be extended to also take into account UNION sub-queries?

> Add support for the LIMIT and OFFSET SQL clauses
> ------------------------------------------------
>
>                 Key: OAK-3458
>                 URL: https://issues.apache.org/jira/browse/OAK-3458
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Radu Cotescu
>             Fix For: 1.4
>
>         Attachments: OAK-3458.1.patch
>
>
> The {{org.apache.jackrabbit.oak.query.SQL2Parser}} should support the {{LIMIT}} and {{OFFSET}} clauses, since the {{org.apache.jackrabbit.oak.query.Query}} object provides support for setting a limit and an offset for returning results.



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