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

Vikas Saurabh commented on OAK-7131:
------------------------------------

Added an ignored test case at [r1820700|https://svn.apache.org/r1820700].

[~tmueller], I've assigned the issue to you and scheduled it for 1.10. Imo, 
btw, this is very critical and we should backport it to 1.8 branch too.

> xpath to sql2 conversion drops order by clause for some cases
> -------------------------------------------------------------
>
>                 Key: OAK-7131
>                 URL: https://issues.apache.org/jira/browse/OAK-7131
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Vikas Saurabh
>            Assignee: Thomas Mueller
>            Priority: Critical
>             Fix For: 1.10
>
>
> When xpath has OR-ed primary type and a couple of OR-ed property constraint 
> (e.g. \[0]), the converted sql statement doesn't get ordering clause.
> \[0]:
> {noformat}
> //(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to