You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/01/29 15:14:00 UTC

[jira] [Commented] (IGNITE-14064) .NET: Incorrect table name when query type is generic

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

Ignite TC Bot commented on IGNITE-14064:
----------------------------------------

{panel:title=Branch: [pull/8730/head] Base: [master] : Possible Blockers (8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Control Utility{color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5849205]]

{color:#d04437}SPI{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5849141]]
* IgniteSpiTestSuite: GridTcpCommunicationSpiTcpFailureDetectionSelfTest.testSendToManyNodes - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteSpiTestSuite: TcpDiscoverySslSelfTest.testFailedNodes3 - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}ZooKeeper (Discovery) 1{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5849148]]
* ZookeeperDiscoverySpiTestSuite1: ZookeeperDiscoveryClientReconnectTest.testReconnectServersRestart_1 - Test has low fail rate in base branch 1,4% and is not flaky

{color:#d04437}Examples{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5849123]]

{color:#d04437}Java Client{color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5849130]]

{color:#d04437}PDS 1{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5849182]]
* IgnitePdsTestSuite: DistributedMetaStoragePersistentTest.testUnstableTopology - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cassandra Store{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5849199]]
* IgniteCassandraStoreTestSuite: IgnitePersistentStoreTest.directPersistenceConfigTest - Test has low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8730/head] Base: [master] : New Tests (12)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Platform .NET (Core Linux){color} [[tests 6|https://ci.ignite.apache.org/viewLog.html?buildId=5849187]]
* {color:#013220}dll: CacheLinqTestSqlEscapeAll.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}dll: CacheLinqTestSimpleName.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}dll: CacheLinqTestSqlEscapeAll.TestGenericCacheTypes - PASSED{color}
* {color:#013220}dll: CacheLinqTest.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}dll: CacheLinqTestSimpleName.TestGenericCacheTypes - PASSED{color}
* {color:#013220}dll: CacheLinqTest.TestGenericCacheTypes - PASSED{color}

{color:#00008b}Platform .NET{color} [[tests 6|https://ci.ignite.apache.org/viewLog.html?buildId=5849186]]
* {color:#013220}exe: CacheLinqTest.TestGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestNestedGenericCacheTypes - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5849211&amp;buildTypeId=IgniteTests24Java8_RunAll]

> .NET: Incorrect table name when query type is generic
> -----------------------------------------------------
>
>                 Key: IGNITE-14064
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14064
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Minor
>              Labels: .NET
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Using a generic type as a QueryEntity value type results in a broken SQL table name:
> {code}
>             var ignite = Ignition.Start(TestUtils.GetTestConfiguration());
>             var cfg = new CacheConfiguration(
>                 TestUtils.TestName,
>                 new QueryEntity(typeof(int), typeof(GenericTest<string>)));
>             var cache = ignite.GetOrCreateCache<int, GenericTest<string>>(cfg);
>             cache[1] = new GenericTest<string> {Prop = "1"};
>             var tables = cache.Query(new SqlFieldsQuery("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES"))
>                 .Select(x => (string) x.Single()).ToArray();
> {code}
> Resulting table name is *0, CULTURE=NEUTRAL, PUBLICKEYTOKEN=7CEC85D7BEA7798E]]*.
> We should add .NET generics support to {{org.apache.ignite.internal.processors.query.QueryUtils.typeName}}.



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