Skip to content

[Feature] chain table support group partition. #7522

@Stephen0421

Description

@Stephen0421

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

When using chain table, all the partition will chain and merge. But sometimes user's tables has non-datetime partition like :
PARTITIONED BY (region, date)
PARTITIONED BY (biz_type, dt)
PARTITIONED BY (country, city, date).
They want to keep the non-datetime partition separated and the datetime partition chain together.

Solution

target:separate partition to two type,control by config:chain-table.chain-partition-keys
Group Partition(prefix):do not participate in chain, as group.
Chain Partition(suffix):participate in chain,must be in the tail of partition.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions