Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7131

xpath to sql2 conversion drops order by clause for some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0, 1.8.0
    • 1.9.0, 1.10.0, 1.8.1, 1.6.9
    • query
    • None

    Description

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

      //(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
      

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: