Skip to content

New feature to offload single partitions from RANGE tables #252

@nj1973

Description

@nj1973

Currently the --partition-name option means offload partitions up to and including --partition-name when used on a RANGE table.

It would be useful for customers to be able to deal with a RANGE partitioned table one partition at a time. Effectively treating a RANGE table as LIST. We already have the opposite concept.

This issue proposes the following:

  1. Add a new option --range-partition-name which, for RANGE incremental tables, takes on the functionality of the current --partition-name option
  2. Reimplement --partition-name for RANGE incremental tables to mean offload exactly one partition. Considerations:
    a) We need a new OFFLOAD_TYPE for these partitionwise offloads, maybe RANGE_AS_LIST?
    b) For an already RANGE offloaded table we cannot allow this option
    c) If any data for the partition to be offloaded exists in the target then we need to reject it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions