jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3416) Query: join on different property types fails
Date Thu, 17 Sep 2015 14:42:04 GMT

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

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

I have a patch where the test succeeds, but will need to run all the tests first.

> 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)

Mime
View raw message