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

Add data completeness checker

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • cube
    • None

    Description

      Though lens has partition registration being done whenever data is available, there is no guarantee the partition registered is complete. There can be different ways to know if the data is complete for partition. One option could be to have a partition property saying whether it is complete or not. Other could be to do a http call to another hosted service and more.

      Proposal here is to add an interface for DataCompletenessChecker and do the check while resolving partitions.

      Here are some of the capabilities we would like to add in Lens :

      1. Lens will check partition existence first, if it exists, then check the completeness percentage. If the completeness percentage is less than a configured threshold (default should be 98, 99 or even 100), Lens will fail the query.
      2. Lens's accept query on partial data will accept on incomplete data as well.
      3. Lens will also option to override the completeness percentage threshold value at query level
      4. Lens will still have look ahead capability of daily being incomplete, then it will union with hourly.
      5. If same measure is there in two different facts , Lens will we pick the one with higher availability.
      6. In case of completeness percentage threshold missed, Lens will respond back with available percentage.

      Attachments

        1. LENS-1333-v1.patch
          33 kB
          Narayan Periwal
        2. LENS-1333-v2.patch
          65 kB
          Narayan Periwal
        3. LENS-1333-v3.patch
          69 kB
          Narayan Periwal
        4. LENS-1333-v4.patch
          70 kB
          Narayan Periwal
        5. LENS-1333-v5.patch
          70 kB
          Narayan Periwal
        6. LENS-1333-v6.patch
          70 kB
          Narayan Periwal
        7. LENS-1333-v7.patch
          70 kB
          Narayan Periwal
        8. LENS-1333-v8.patch
          130 kB
          Narayan Periwal
        9. LENS-1333-v9.patch
          130 kB
          Narayan Periwal

        Issue Links

          Activity

            People

              nperiwal Narayan Periwal
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: