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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/10/07 10:12:26 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14946482#comment-14946482 ]
Thomas Mueller commented on OAK-3458:
-------------------------------------
> Should the patch be extended to also take into account UNION sub-queries?
Yes, that would be great. Support for XPath would also be great.
The test cases would need to be changed. I would create tests with data (not test the internal data structure, but the behavior). That could be done in the (text-) files xpath.txt and sql2.txt
> 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)