Skip to content

[Feature] Chained tables should allow set fallback rules for non-existent partitions. #7682

@blackflash997997

Description

@blackflash997997

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

when using chain tables:
my partitions :
branch_snapshot: 20260101
branch_delta: 20260102、20260104

so i using: select count(1) from table where dt=20260103 is 0
but in a scenario, It should return the most recent partition from the beginning of the timeline,
like above, should return data in 20260102
not 0.

Solution

add a configuration, allow user to decide whether to fallback to the most recent partition from the beginning of the timeline

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
    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