[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770261#comment-15770261 ] ASF GitHub Bot commented on IGNITE-4379: Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/1323 > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov >Assignee: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method or move back query execution to outside > GridQueryFieldsResultAdapter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15729205#comment-15729205 ] Andrew Mashenkov commented on IGNITE-4379: -- Tests looks good. > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov >Assignee: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method or move back query execution to outside > GridQueryFieldsResultAdapter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15728494#comment-15728494 ] Andrew Mashenkov commented on IGNITE-4379: -- Fixed. Pending for TC tests. > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov >Assignee: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method or move back query execution to outside > GridQueryFieldsResultAdapter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15728467#comment-15728467 ] ASF GitHub Bot commented on IGNITE-4379: GitHub user AMashenkov opened a pull request: https://github.com/apache/ignite/pull/1323 IGNITE-4379: SQL: Local SQL field query broken in master Fixed broken local SQLFieldsQuery. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-4379 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/1323.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 #1323 commit 312a64be2bcbf44e50e95595c3207a6c130dc486 Author: Andrey V. MashenkovDate: 2016-12-07T10:50:37Z Fixed broken local SQLFieldsQuery. > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov >Assignee: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method or move back query execution to outside > GridQueryFieldsResultAdapter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15726493#comment-15726493 ] Andrew Mashenkov commented on IGNITE-4379: -- [~ascherbakov], would you please explain if it is really need to move query execution to GridQueryFieldsResultAdapter.iterator() method? > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4379) SQL: Local SQL field query broken in master
[ https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15726198#comment-15726198 ] Andrew Mashenkov commented on IGNITE-4379: -- It looks like, it was broken in [https://issues.apache.org/jira/browse/IGNITE-2680] > SQL: Local SQL field query broken in master > --- > > Key: IGNITE-4379 > URL: https://issues.apache.org/jira/browse/IGNITE-4379 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Andrew Mashenkov > Fix For: 2.0 > > > Local SQL field query returns entries from backup partition. > For now query context is being cleared in > IgniteH2Indexing.queryLocalSqlFields() method before query is really executed. > It seems, GridQueryFieldsResultAdapter should restore query context before > query run in iterator() method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)