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:15:04 UTC

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

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

Thomas Mueller commented on OAK-3416:
-------------------------------------

Test case: http://svn.apache.org/r1703632

> 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
>          Components: query
>            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)