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/09/17 16:12:04 UTC

[jira] [Created] (OAK-3416) Query: join on different property types fails

Thomas Mueller created OAK-3416:
-----------------------------------

             Summary: Query: join on different property types fails
                 Key: OAK-3416
                 URL: https://issues.apache.org/jira/browse/OAK-3416
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
             Fix For: 1.3.7


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

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

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)