You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/03/30 12:39:53 UTC

[jira] [Work started] (LENS-440) ColumnarSQLRewriter.rewrite should not be synchronized

     [ 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)