[
https://issues.apache.org/jira/browse/IGNITE-5252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019435#comment-16019435
]
ASF GitHub Bot commented on IGNITE-5252:
----------------------------------------
GitHub user AMashenkov opened a pull request:
https://github.com/apache/ignite/pull/1982
IGNITE-5252: Expose getFieldName method to SqlFieldsQuery result.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-5252
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1982.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 #1982
----
commit 03b4af0b568372b15d9b7a7dbe1283f3fb731370
Author: Andrey V. Mashenkov <[email protected]>
Date: 2017-05-22T10:47:28Z
Expose getFieldName method to SqlFieldsQuery result.
----
> SqlFieldsQuery result set should expose fields metadata.
> --------------------------------------------------------
>
> Key: IGNITE-5252
> URL: https://issues.apache.org/jira/browse/IGNITE-5252
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.0
> Reporter: Andrew Mashenkov
> Assignee: Andrew Mashenkov
> Fix For: 2.1
>
>
> Internal class QueryCursorImpl can contains fields metadata, but QueryCursor
> does not provide any method for this. So, the only way for user to get
> metadata is to cast result object to internal class.
> We should extend QueryCursor in child interface and change
> IgniteCache.query() return type for SqlFieldsQueries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)