Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-284

Hcatalog based feed retention doesn't work when partition filter spans across multiple partition keys

    XMLWordPrintableJSON

Details

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

    Description

      When an HCatalog based feed is scheduled in falcon, retention only looks at the first partition key that satisfies either of date pattern: yyyy | MM | dd | HH | mm. As a result, it calculates a partition filter that contains only one of these patterns. However if HCatalog table is defined in such a way that date spans across multiple partition keys (year/month/day/hour/minute), then feed retention doesn't delete any partitions that are granular than first level (year).

      Attachments

        1. FALCON-284.patch.1.txt
          34 kB
          Satish Mittal
        2. FALCON-284.patch.2.txt
          34 kB
          Satish Mittal
        3. FALCON-284.patch.txt
          33 kB
          Satish Mittal

        Issue Links

          Activity

            People

              satish.mittal Satish Mittal
              satish.mittal Satish Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: