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

Query: join on different property types fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.7, 1.4
    • query
    • None

    Description

      A join on properties with different node types, for example reference and string, does not work as expected. Example:

      select [a].* from [nt:unstructured] as [a] 
      inner join [nt:unstructured] as [b]
      on [a].[jcr:uuid] = [b].[join] where issamenode([a], '/a')
      

      The query works as expected if the property "join" is of type string, but not it is of type reference.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: