You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2018/09/10 00:23:00 UTC

[jira] [Resolved] (KYLIN-3536) PrepareStatement cache issue when there are new segments built

     [ https://issues.apache.org/jira/browse/KYLIN-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI resolved KYLIN-3536.
---------------------------------
    Resolution: Fixed

> PrepareStatement cache issue when there are new segments built
> --------------------------------------------------------------
>
>                 Key: KYLIN-3536
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3536
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Ma Gang
>            Assignee: Ma Gang
>            Priority: Minor
>             Fix For: v2.5.0
>
>         Attachments: KYLIN-3536.patch
>
>
> PrepareStatement cache will have issue when there are new segments built, because the OLAPContext is cached with preparedStatement, and the choosed Realization is cached in the OLAPContext, so if there are new segments built after cache, the new segments will not be used for the query. The fix is always use the latest Realization Instance in the OLAPContext.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)