You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/08 23:03:11 UTC

[jira] [Commented] (RYA-130) Rya Mongo Fail on Multi Bindingset Joins

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

ASF GitHub Bot commented on RYA-130:
------------------------------------

GitHub user amihalik opened a pull request:

    https://github.com/apache/incubator-rya/pull/57

    RYA-130 Fixed Rya Mongo Multi Binding Set Join

    Fixed bug in Mongo Query Engine; added test

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/amihalik/incubator-rya mongoMultiBindingSet

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/57.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #57
    
----
commit f9d215e381cec39cb2daca7a06a40ab047580d8c
Author: Aaron Mihalik <mi...@alum.mit.edu>
Date:   2016-07-08T23:01:19Z

    RYA-130 Fixed Rya Mongo Multi Binding Set Join
    
    Fixed bud in Mongo Query Engine; added test

----


> Rya Mongo Fail on Multi Bindingset Joins
> ----------------------------------------
>
>                 Key: RYA-130
>                 URL: https://issues.apache.org/jira/browse/RYA-130
>             Project: Rya
>          Issue Type: Bug
>          Components: dao
>    Affects Versions: 3.2.9
>            Reporter: Aaron Mihalik
>            Assignee: Aaron Mihalik
>
> Rya Mongo fails on a fairly straightforward query:
> {code}
> DATA = 
>   <u:a> <u:tt> <u:b> .
>   <u:a> <u:ww> <u:x> .
>   <u:a> <u:ww> <u:y> .
> QUERY = 
>   select ?s ?foo where { 
>       ?s <u:ww> ?foo . 
>       ?s <u:tt> <u:b> }
> {code}
> This is a bug in how Mongo Rya solves joins.  The first Statement Pattern will return multiple binding sets, and try to join it with a single statement.  The Mongo Rya Query Engine can't handle this case.
> Full Code at: 
> https://gist.github.com/amihalik/61cf870650b7443389e7be7600f8502c



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