Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-584

View#deleteAll rejects partition constraints

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None

      Description

      The Constraints#alignedWithPartitionBoundaries method doesn't support partition constraints. It returns false if any constraint doesn't have a corresponding partition function that may satisfy it (see line 279).

      From the mailing list:

      View<Record> ready = staging.toBefore("day", 12);
      it results in:
      Caused by: java.lang.UnsupportedOperationException: Cannot cleanly 
      delete view: . . .
      

      Thanks to Jeff Rankin for pointing this out.

        Attachments

          Activity

            People

            • Assignee:
              blue Ryan Blue
              Reporter:
              blue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: