You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/22 21:55:04 UTC

[jira] [Commented] (GEODE-2967) Internal Errors thrown while executing queries involving self join

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

ASF GitHub Bot commented on GEODE-2967:
---------------------------------------

GitHub user nabarunnag opened a pull request:

    https://github.com/apache/geode/pull/523

    GEODE-2967: ResultCollection instead of StructCollection

    	* If we have one runtime iterator which is in case of self joins, ResultSet or ResultBags are created
    	* Otherwise StructBag or StructSets are used
    
    Thank you for submitting a contribution to Apache Geode.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
    
    - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?
    
    - [ ] Is your initial contribution a single, squashed commit?
    
    - [ ] Does `gradlew build` run cleanly?
    
    - [ ] Have you written or updated unit tests to verify your changes?
    
    - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build issues and
    submit an update to your PR as soon as possible. If you need help, please send an
    email to dev@geode.apache.org.


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

    $ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-2967

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

    https://github.com/apache/geode/pull/523.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 #523
    
----
commit dfa777eff383119d99fe51d2ec6bfb7c099ca643
Author: nabarun <nn...@pivotal.io>
Date:   2017-05-22T18:34:52Z

    GEODE-2967: ResultCollection instead of StructCollection
    
    	* If we have one runtime iterator which is in case of self joins, ResultSet or ResultBags are created
    	* Otherwise StructBag or StructSets are used

----


> Internal Errors thrown while executing queries involving self join
> ------------------------------------------------------------------
>
>                 Key: GEODE-2967
>                 URL: https://issues.apache.org/jira/browse/GEODE-2967
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: nabarun
>
> Issue:
> While executing queries like
> SELECT * FROM /pos p1 WHERE p1.id = p1.id
> leads to an internal error if Indexes are used.
> Solution:
> ResultCollection needs to be created instead of StructCollection in this particular situation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)