Skip to content

Merge on sort keys even when they are not selected #5338

Description

@parthchandra

What is the problem the feature request solves?

Follow up to #5323
Today, if a sort column isn't in the query's projection, we skip the merge and read the files unordered. We should read the sort columns anyway (even when not selected), merge on them, and drop them before returning the rows.

A sorted table should be able to report its ordering and merge when the query doesn't select the sort key.

Describe the potential solution

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:scanParquet scan / data readingenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions