[
https://issues.apache.org/jira/browse/IGNITE-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-5006:
-----------------------------------
Description:
The following code returns null results:
{code}
type Person =
{
[<QuerySqlField>]
id : int;
[<QuerySqlField>]
name : String
}
...
cache.QueryFields(new SqlFieldsQuery("from person select id")).GetAll()
{code}
F# record fields have {{@}} symbol in the end. We should clean up or escape
these.
{{Person [idHash=59332389, id@=1, name@=John]}}
was:
The following code returns null results:
{code}
type Person =
{
[<QuerySqlField>]
id : int;
[<QuerySqlField>]
name : String
}
...
cache.QueryFields(new SqlFieldsQuery("from person select id")).GetAll()
{code}
F# record fields have {{@}} symbol in the end. We should clean up or escape
these.
{{cache.QueryFields(new SqlFieldsQuery("from person select id")).GetAll()}}
> .NET: SQL does not work with F# record types
> --------------------------------------------
>
> Key: IGNITE-5006
> URL: https://issues.apache.org/jira/browse/IGNITE-5006
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.7
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Labels: .NET
> Fix For: 2.0
>
>
> The following code returns null results:
> {code}
> type Person =
> {
> [<QuerySqlField>]
> id : int;
> [<QuerySqlField>]
> name : String
> }
> ...
> cache.QueryFields(new SqlFieldsQuery("from person select id")).GetAll()
> {code}
> F# record fields have {{@}} symbol in the end. We should clean up or escape
> these.
> {{Person [idHash=59332389, id@=1, name@=John]}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)