[
https://issues.apache.org/jira/browse/IGNITE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-21009:
------------------------------------
Description:
The following test fails:
{code}
[Test]
public async Task TestPutGetNullable()
{
await Client.Sql.ExecuteAsync(null, "CREATE TABLE TestPutGetNullable
(ID BIGINT PRIMARY KEY, VAL BIGINT)");
await Client.Sql.ExecuteAsync(null, "INSERT INTO TestPutGetNullable
VALUES (1, 1), (2, NULL)");
var table = await Client.Tables.GetTableAsync("TestPutGetNullable");
var view = table!.GetKeyValueView<long, long>();
var res1 = await view.GetAsync(null, 1);
var res2 = await view.GetAsync(null, 2);
}
{code}
> .NET: Thin 3.0: Nullable columns are not supported in KeyValueView with
> primitive mapping
> -----------------------------------------------------------------------------------------
>
> Key: IGNITE-21009
> URL: https://issues.apache.org/jira/browse/IGNITE-21009
> Project: Ignite
> Issue Type: Bug
> Components: platforms, thin client
> Affects Versions: 3.0.0-beta1
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Fix For: 3.0.0-beta2
>
>
> The following test fails:
> {code}
> [Test]
> public async Task TestPutGetNullable()
> {
> await Client.Sql.ExecuteAsync(null, "CREATE TABLE TestPutGetNullable
> (ID BIGINT PRIMARY KEY, VAL BIGINT)");
> await Client.Sql.ExecuteAsync(null, "INSERT INTO TestPutGetNullable
> VALUES (1, 1), (2, NULL)");
> var table = await Client.Tables.GetTableAsync("TestPutGetNullable");
> var view = table!.GetKeyValueView<long, long>();
> var res1 = await view.GetAsync(null, 1);
> var res2 = await view.GetAsync(null, 2);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)