Rajat Khandelwal created LENS-1459: -------------------------------------- Summary: Time union candidate creation phase is creating a combination with redundant candidates Key: LENS-1459 URL: https://issues.apache.org/jira/browse/LENS-1459 Project: Apache Lens Issue Type: Bug Components: cube Reporter: Rajat Khandelwal Assignee: Rajat Khandelwal
After the optimization in LENS-1452, Combinations as mentioned in the jira summary can get created. Say the time range queried is {{\[f, t)}}, Candidate {{a}} and {{b}} can cover {{\[f, m)}} and candidate {{c}} can cover {{\[m, t)}}. Say a Union candidate is represented as {{U(cand1, cand2,...)}}. Then the code creates {{U(a,b,c), U(a,c) and U(b,c)}}. If {{U(a,b,c)}} is picked as final candidate, then one of {{a}} or {{b}} doesn't resolve partitions and {{time_range_in}} clause is left as it is for that. -- This message was sent by Atlassian JIRA (v6.4.14#64029)