ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-7609) .NET: FieldsQueryCursor should expose data types too
Date Mon, 25 Nov 2019 17:23:01 GMT

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

Pavel Tupitsyn edited comment on IGNITE-7609 at 11/25/19 5:22 PM:
------------------------------------------------------------------

Despite Java-based ticket being closed as Won't Fix, I still think this ticket is important.

See GetFieldType and GetDataTypeName methods in DbDataReader:
https://docs.microsoft.com/en-us/dotnet/api/system.data.common.dbdatareader?view=netcore-2.0

For example, if we try to build some kind of a generic tool that runs SQL against Ignite,
we want to know the type of every field in the query results to show a nice table with formatting
and so on.

The information is already available in QueryCursorEx.fieldsMeta(), so this ticket is a matter
of simple change to PlatformFieldsQueryCursor on Java side.


was (Author: ptupitsyn):
Despite Java-based ticket being closed as Won't Fix, I still think this ticket is important.
For example, if we try to build some kind of a generic tool that runs SQL against Ignite,
we want to know the type of every field in the query results to show a nice table with formatting
and so on.

The information is already available in QueryCursorEx.fieldsMeta(), so this ticket is a matter
of simple change to PlatformFieldsQueryCursor on Java side.

> .NET: FieldsQueryCursor should expose data types too
> ----------------------------------------------------
>
>                 Key: IGNITE-7609
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7609
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>    Affects Versions: 2.4
>            Reporter: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>
> See IGNITE-7607 for Java, add same thing to .NET:
> {code}
> public interface IFieldsQueryCursor
> {
>     ...
>     IList<T> FieldTypes
> }
> {code}
> T could be string or Type, needs investigation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message