Vikas Saurabh created OAK-7131:
----------------------------------

             Summary: 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