Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-415

Make brief Missing Partition to set instead of list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None

    Description

      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.

      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"]}]}}
      

      Attachments

        Issue Links

          Activity

            People

              prongs Rajat Khandelwal
              arshadmatin20 Arshad Matin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: