Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

cost-model: group-by column ref property + cost model design? #202

@skyzh

Description

@skyzh

currently, aggregation group-by's logical property is like:

select v1 from t1 group by v1;

Agg group=v1 <- schema=[v1], column_ref=[v1]
  Scan t1

but actually, group by could change the distribution of the column, so probably we should set it to derived, or find a way to represent it? if a later join refers to this column, we should treat it differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions