kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3536) PrepareStatement cache issue when there are new segments built
Date Tue, 04 Sep 2018 10:40:03 GMT

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

ASF subversion and git services commented on KYLIN-3536:
--------------------------------------------------------

Commit 250d42a2e35ac41d91279a8286f3148a34cff7b2 in kylin's branch refs/heads/2.5.x from Ma,Gang
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=250d42a ]

KYLIN-3536 PrepareStatement cache issue when there are new segments built

Signed-off-by: shaofengshi <shaofengshi@apache.org>


> 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: Shaofeng SHI
>            Priority: Minor
>         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)

Mime
View raw message