Skip to content

Differentiate between a Distribution which statisfies any required Distribution vs. none. #86641

@msirek

Description

@msirek

Currently, in the optimizer, RelExpr.ProvidedPhysical().Distribution indicates which regions a relation accesses. An empty distribution means the input can provide any distribution required by the consumer, but can also sometimes mean all regions are accessed (can provide no required distribution except the distribution which includes all regions). This issue is opened to differentiate between these cases in the code, and to also make sure a distribution is always built for all expressions (VALUES clauses, for example, which can be considered local to the gateway region).

Jira issue: CRDB-18850

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-queriesSQL Queries Team

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions