[
https://issues.apache.org/jira/browse/IGNITE-22013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-22013:
------------------------------------
Description:
Add the following test to *ItTablePutGetEmbeddedTest*, it works in embedded
mode, but not in thin client mode:
{code:java}
@Test
public void testKVWithoutVClient() {
String tableName = "TEST_TABLE_1";
sql("CREATE TABLE " + tableName + " (id int primary key)");
sql("INSERT INTO " + tableName + " (id) VALUES (1)");
KeyValueView<Tuple, Tuple> kvView =
tables().table(tableName).keyValueView();
Assertions.assertDoesNotThrow(() -> kvView.get(null,
Tuple.create().set("id", 1)));
}
{code}
* Add a test for .NET client too
> Java thin 3.0: KeyValueView does not work with single-column table
> ------------------------------------------------------------------
>
> Key: IGNITE-22013
> URL: https://issues.apache.org/jira/browse/IGNITE-22013
> Project: Ignite
> Issue Type: Bug
> Reporter: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
>
> Add the following test to *ItTablePutGetEmbeddedTest*, it works in embedded
> mode, but not in thin client mode:
> {code:java}
> @Test
> public void testKVWithoutVClient() {
> String tableName = "TEST_TABLE_1";
> sql("CREATE TABLE " + tableName + " (id int primary key)");
> sql("INSERT INTO " + tableName + " (id) VALUES (1)");
> KeyValueView<Tuple, Tuple> kvView =
> tables().table(tableName).keyValueView();
> Assertions.assertDoesNotThrow(() -> kvView.get(null,
> Tuple.create().set("id", 1)));
> }
> {code}
> * Add a test for .NET client too
--
This message was sent by Atlassian Jira
(v8.20.10#820010)