Arshad Matin created LENS-415:
---------------------------------
Summary: Make brief Missing Partition to set instead of list
Key: LENS-415
URL: https://issues.apache.org/jira/browse/LENS-415
Project: Apache Lens
Issue Type: Bug
Reporter: Arshad Matin
If more than one facts have missing partition, then the brief message contains
the list of missing partition which might contain duplicate missing partition.
Instead of list we must use set.
{CODE}
Driver :org.apache.lens.driver.hive.HiveDriver Cause :No candidate fact table
available to answer the query, because {"brief":"Missing partitions for the
cube table: [[2014-11-24-00, 2014-11-24], [2014-11-24-00],
[2014-11-24]]","details":{"d1":[{"cause":"NO_FACT_UPDATE_PERIODS_FOR_GIVEN_RANGE"}],"day_supply_fact":[{"cause":"COLUMN_NOT_FOUND","missingColumns":["c1","c2"]}],"s2":[{"cause":"MORE_WEIGHT"}],"d2":[{"cause":"MISSING_PARTITIONS","missingPartitions":["2014-11-24"]}],"d3":[{"cause":"MISSING_PARTITIONS","missingPartitions":["2014-11-24-00"]}],"s1":[{"cause":"MISSING_PARTITIONS","missingPartitions":["2014-11-24-00","2014-11-24"]}]}}
{CODE}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)