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

Work on LENS-440 started by Amareshwari Sriramadasu.
----------------------------------------------------
> ColumnarSQLRewriter.rewrite should not be synchronized
> ------------------------------------------------------
>
>                 Key: LENS-440
>                 URL: https://issues.apache.org/jira/browse/LENS-440
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: driver-jdbc
>    Affects Versions: 2.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>
> Right now, ColumnarSQLRewriter.rewrite is synchronized because rewriter is 
> cached in JDBCDriver and it uses all class level variables to keep query 
> rewriting state.
> Having this synchronized will make other queries wait for rewrite. We should 
> have separate rewriter created for each query or move the state out of 
> ColumnarSQLRewriter sothat it need not be synchronized. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to