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/09/10 07:00:49 UTC

[jira] [Updated] (LENS-771) Multiple chain ref columns having subset chains are not pruned properly

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

Amareshwari Sriramadasu updated LENS-771:
-----------------------------------------
    Attachment: LENS-771-test.patch

Attaching unit test reproducing the issue. 

> Multiple chain ref columns having subset chains are not pruned properly
> -----------------------------------------------------------------------
>
>                 Key: LENS-771
>                 URL: https://issues.apache.org/jira/browse/LENS-771
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: cube
>    Affects Versions: 2.3
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>         Attachments: LENS-771-test.patch
>
>
> While debugging LENS-756, i saw this issue and the fix does not seem straightforward.
> The issue is the following :
> If reference column have multiple chains and one of the chain is a subset of the other,
> For ex :
> ----
>     <dim_attribute name="customer_city_name" type="string" description="City name to which the customer belongs"
>                    display_string="Customer City">
>       <ref_spec>
>         <chain_ref_column chain_name="customer_city" ref_col="name" />
>         <chain_ref_column chain_name="customer_details" ref_col="customer_city_name" />
>       </ref_spec>
>     </dim_attribute>
> ----



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