You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Sushil Mohanty (JIRA)" <ji...@apache.org> on 2015/06/15 14:15:01 UTC

[jira] [Commented] (LENS-603) Skip expression rewrite in columnar rewriter

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

Sushil Mohanty commented on LENS-603:
-------------------------------------

rb entry : https://reviews.apache.org/r/35458/

> Skip expression rewrite in columnar rewriter
> --------------------------------------------
>
>                 Key: LENS-603
>                 URL: https://issues.apache.org/jira/browse/LENS-603
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Sushil Mohanty
>            Assignee: Sushil Mohanty
>
> There are certain cases where expressions has conditions which needs to be applied for  each resultant row. For eg. sum(case when city_dim.city_name = 'abc' then total_count when city_dim.city_name is null then 0 end) .  Columnar rewriter is rewriting such expression as fact subquery and passing the result to main query. We should skip such rewrite and do it only once in the main query. 



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