[
https://issues.apache.org/jira/browse/IGNITE-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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. Mashenkov <[email protected]>
Date: 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)