Skip to content

Add projections for array access in parquet partitions/files #6065

@puzpuzpuz

Description

@puzpuzpuz

Is your feature request related to a problem?

For queries like

select max(arr[1][1])
from tab;

we don't need to do a full decoding of the arr array column. Instead, we should decode only the first array element.

We should also consider pushing down other array access operations like slices.

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Full Name:

Andrei Pechkurov

Affiliation:

QuestDB

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformancePerformance improvementsSQLIssues or changes relating to SQL execution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions