You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Puneet Gupta (JIRA)" <ji...@apache.org> on 2016/06/27 08:46:52 UTC

[jira] [Updated] (LENS-812) Simplify the asserts for CandidateTablePruneCause in TestDenormalizaerResolver test

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

Puneet Gupta updated LENS-812:
------------------------------
    Fix Version/s:     (was: 2.6)

> Simplify the asserts for CandidateTablePruneCause in TestDenormalizaerResolver test
> -----------------------------------------------------------------------------------
>
>                 Key: LENS-812
>                 URL: https://issues.apache.org/jira/browse/LENS-812
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: cube
>            Reporter: Raju Bairishetti
>            Assignee: Raju Bairishetti
>
> Right now, we are checking for all kinds of possibilities of CandidateTable Prunecause details in TestDenormalizerResolver. We are checking for all possible combinations because  iterator on set in java8 is coming different order every time.
> {code}
>    Arrays.asList(CandidateTablePruneCause.columnNotFound("msr2", "msr3")))	
>           || entry.getValue().equals(Arrays.asList(CandidateTablePruneCause.columnNotFound("msr3", "msr2"))));
> {code}
> It would be easier for writing the new tests if we fix this from src side instead of checking for each combination in test.



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