Skip to content

Replace constant columns with literals #19089

@adriangb

Description

@adriangb

When scanning a Parquet file, if from statistics we can deduce that a column is constant we can replace col("a") with lit(123). This (1) reduces data transfer/reads (even if it would be compressed in Parquet, etc.) and (2) we might be able to do interesting stuff with statistics pruning.

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