[jira] [Commented] (KYLIN-3522) PrepareStatement cache issue

2018-09-03 Thread Shaofeng SHI (JIRA)


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

Shaofeng SHI commented on KYLIN-3522:
-

+1

> PrepareStatement cache issue
> 
>
> Key: KYLIN-3522
> URL: https://issues.apache.org/jira/browse/KYLIN-3522
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine
>Affects Versions: v2.5.0
>Reporter: Ma Gang
>Assignee: Ma Gang
>Priority: Minor
> Fix For: v2.5.0
>
> Attachments: KYLIN-3522.patch
>
>
> When enable server side prepareStatement cache, OLAPContext is cached with 
> prepareStatement object, because filter is also in the OLAPContext, so the 
> condition values in the comparedFilter is also cached, that may cause problem 
> in some cases.



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


[jira] [Commented] (KYLIN-3522) PrepareStatement cache issue

2018-09-03 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on KYLIN-3522:


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

KYLIN-3522 PrepareStatement cache issue


> PrepareStatement cache issue
> 
>
> Key: KYLIN-3522
> URL: https://issues.apache.org/jira/browse/KYLIN-3522
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine
>Affects Versions: v2.5.0
>Reporter: Ma Gang
>Assignee: Ma Gang
>Priority: Minor
> Fix For: v2.5.0
>
> Attachments: KYLIN-3522.patch
>
>
> When enable server side prepareStatement cache, OLAPContext is cached with 
> prepareStatement object, because filter is also in the OLAPContext, so the 
> condition values in the comparedFilter is also cached, that may cause problem 
> in some cases.



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


[jira] [Commented] (KYLIN-3522) PrepareStatement cache issue

2018-08-31 Thread Ma Gang (JIRA)


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

Ma Gang commented on KYLIN-3522:


Patch uploaded, please help to review, the fix is to clear the filter's 
previous variable values before bind it.

> PrepareStatement cache issue
> 
>
> Key: KYLIN-3522
> URL: https://issues.apache.org/jira/browse/KYLIN-3522
> Project: Kylin
>  Issue Type: Improvement
>  Components: Query Engine
>Reporter: Ma Gang
>Assignee: Ma Gang
>Priority: Minor
> Attachments: KYLIN-3522.patch
>
>
> When enable server side prepareStatement cache, OLAPContext is cached with 
> prepareStatement object, because filter is also in the OLAPContext, so the 
> condition values in the comparedFilter is also cached, that may cause problem 
> in some cases.



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