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/12/02 12:02:00 UTC

[jira] [Commented] (IGNITE-14742) Store array component type in binary object

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

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

{panel:title=Branch: [pull/9490/head] Base: [master] : Possible Blockers (4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}AWS{color} [[tests 0 Exit Code |https://ci2.ignite.apache.org/viewLog.html?buildId=6218294]]

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

{color:#d04437}Java Client{color} [[tests 2|https://ci2.ignite.apache.org/viewLog.html?buildId=6218416]]
* IgniteClientTestSuite: JettyRestProcessorAuthenticationWithCredsSelfTest.testPutComplexObject[useBinaryArrays = false] - History for base branch is absent.
* IgniteClientTestSuite: JettyRestProcessorAuthenticationWithTokenSelfTest.testPutComplexObject[useBinaryArrays = true] - History for base branch is absent.

{panel}
{panel:title=Branch: [pull/9490/head] Base: [master] : New Tests (2797)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 9{color} [[tests 360|https://ci2.ignite.apache.org/viewLog.html?buildId=6218307]]
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testCharacterDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testShortDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testObjectBasedOnPrimitivesDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testSqlDateDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testObjectBasedOnPrimitivesAndCollectionsDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testIntegerDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testSetDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testStringDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testDoubleDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testLocalDateTimeDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite9: GridCacheDataTypesCoverageTest.testLocalTimeDataType[atomicityMode=TRANSACTIONAL_SNAPSHOT, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
... and 349 new tests

{color:#00008b}Queries 2{color} [[tests 150|https://ci2.ignite.apache.org/viewLog.html?buildId=6218364]]
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testDecimalDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testVarcharDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testUUIDDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testCharDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testBigIntDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testDoubleDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testRealDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testBooleanDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testTimestampDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=1, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testVarcharDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testUUIDDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
... and 139 new tests

{color:#00008b}JDBC Driver{color} [[tests 480|https://ci2.ignite.apache.org/viewLog.html?buildId=6218345]]
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testObjectBasedOnPrimitivesDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testObjectBasedOnPrimitivesAndCollectionsDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testSetDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testSQLTimestampDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testDoubleDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testStringDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testCalendarDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testByteArrayDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testListDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testFloatDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
* {color:#013220}IgniteJdbcDriverTestSuite: JdbcThinCacheToJdbcDataTypesCoverageTest.testBigIntegerDataType[atomicityMode=TRANSACTIONAL, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_SYNC, persistenceEnabled=false, useBinaryArrays=false] - PASSED{color}
... and 469 new tests

{color:#00008b}Binary Objects{color} [[tests 1188|https://ci2.ignite.apache.org/viewLog.html?buildId=6218298]]
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testReadResolve[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testClassFieldsMarshalling[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testMarshallingThroughJdk[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testBoolean[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testReadDetachedTypedArray[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testOffheapBinary[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testCustomSerializerWithGlobal[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testCustomCollectionsWithFactory[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testBinaryCopyMixed[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testCustomCollections[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite: BinaryMarshallerNonCompactSelfTest.testFieldOrder[useBinaryArrays = true] - PASSED{color}
... and 1177 new tests

{color:#00008b}Queries 1{color} [[tests 24|https://ci2.ignite.apache.org/viewLog.html?buildId=6218363]]
* {color:#013220}IgniteBinaryCacheQueryTestSuite: ArrayIndexTest.shouldSupportTableExpressions - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: ArrayIndexTest.shouldSupportTableExpressionsWithBinaryArrays - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateParametersWithIndexes[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testTypeConversions[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateParameters[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testSingleInnerFieldUpdate[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateParametersWithSubQuery[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testNestedFieldsUpdate[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateSimple[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateSingle[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheUpdateSqlQuerySelfTest.testUpdateParametersWithIndexes[useBinaryArrays = false] - PASSED{color}
... and 13 new tests

{color:#00008b}Java Client{color} [[tests 588|https://ci2.ignite.apache.org/viewLog.html?buildId=6218416]]
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testClusterStateChange[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testNullMapKeyAndValue[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testUnauthorized[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testPutIncorrectJson[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testQueryCommandsWithoutCacheName[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testGetOrCreateCache[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testPutJsonArray[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testDistributedJoinsSqlFieldsQuery[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testPutNestedBinaryObject[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testAdd[useBinaryArrays = true] - PASSED{color}
* {color:#013220}IgniteClientTestSuite: JettyRestProcessorSignedSelfTest.testGetBinaryObjects[useBinaryArrays = true] - PASSED{color}
... and 577 new tests

{color:#00008b}Thin Client: Java{color} [[tests 7|https://ci2.ignite.apache.org/viewLog.html?buildId=6218343]]
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testOverloadedMethods - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testCollectionMethods - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testServicesOnClusterGroup - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testServiceTimeout - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testWrongServiceName - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testServiceException - PASSED{color}
* {color:#013220}ClientTestSuite: ServicesBinaryArraysTests.testWrongMethodInvocation - PASSED{color}

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

> Store array component type in binary object
> -------------------------------------------
>
>                 Key: IGNITE-14742
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14742
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Nikolay Izhikov
>            Assignee: Nikolay Izhikov
>            Priority: Major
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> Currently, an array of custom objects can't be retrieved from the cache
> {code:java}
> public class BinaryObjectTest extends GridCommonAbstractTest {
>     /** */
>     @Test
>     public void testArray() throws Exception {
>         Ignite ign = startGrid();
>         IgniteCache<Integer, TestClass1[]> cache = ign.createCache("my-cache");
>         cache.put(1, new TestClass1[] {new TestClass1(), new TestClass1()});
>         TestClass1[] obj = cache.get(1);
>         assertEquals(TestClass1[].class, obj.getClass());
>     }
> }
> {code}
> The fix should preserve backward compatibility.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)