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

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

{panel:title=Branch: [pull/10467/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10467/head] Base: [master] : New Tests 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Calcite SQL{color} [[tests 
1|https://ci2.ignite.apache.org/viewLog.html?buildId=6991925]]
* {color:#013220}IgniteCalciteTestSuite: 
ExpiredEntriesIntegrationTest.testExpiration - PASSED{color}

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

> Calcite engine. Expired entries are not filtered by scans
> ---------------------------------------------------------
>
>                 Key: IGNITE-18439
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18439
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: calcite, calcite2-required
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Expired entries should be filtered when it's possible (table scans, regular 
> index scans). Some types of optimizations (inline scans) don't have access to 
> expireTime field, perhaps we should disable these optimizations for caches 
> with {{{}eagerTtl == false{}}}.
> Reproducer:
> {code:java}
>     public void testExpiration() throws Exception {
>         IgniteCache<Integer, Developer> cache = client.getOrCreateCache(new 
> CacheConfiguration<Integer, Developer>()
>             .setName("dev")
>             .setSqlSchema("PUBLIC")
>             .setIndexedTypes(Integer.class, Developer.class)
>             .setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(new 
> Duration(TimeUnit.MILLISECONDS, 1)))
>             .setEagerTtl(false)
>         );
>  
>         for (int i = 0; i < 10; i++)
>             cache.put(i, new Developer("name" + i, i));
>         doSleep(100);
>         assertQuery("SELECT * FROM PUBLIC.DEVELOPER").resultSize(0).check();
>     }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to