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

Rajat Khandelwal commented on LENS-1434:
----------------------------------------

Fixing the following small issues as well in this:

* In case of cube segmentation, if segmented cubes are picking virtual facts 
which point to same physical fact, the rewritten query has repeated clauses. 
The reason was the {{HashMap<storagecandidatename, AST>}} in 
{{UnionQueryWriter}}. The storagecandidatename is same for all candidates and 
there's only one entry in this map whereas there should be as many as number of 
segmented cubes in the segment. So Changed map's key and added hashcode method 
in {{StorageCandidateHQLContext}}
* Query Cost calculation was wrong. https://github.com/InMobi/grill/pull/189/




> Segmentation Candidate should have dynamic cost depending on facts picked in 
> segmented cubes
> --------------------------------------------------------------------------------------------
>
>                 Key: LENS-1434
>                 URL: https://issues.apache.org/jira/browse/LENS-1434
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: cube
>            Reporter: Rajat Khandelwal
>            Assignee: Rajat Khandelwal
>         Attachments: LENS-1434.01.patch
>
>
> Currently weight is fixed. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to