Skip to content

Conversation

@timsaucer
Copy link
Member

Which issue does this PR close?

Rationale for this change

If we have a StreamingTable that has both physical sort expressions and projection, we will get errors when trying to execute the plan if the sort expressions are not included in the projection.

What changes are included in this PR?

When we have both projection and physical sort expressions, project the schema and the sort expressions.

Are these changes tested?

Unit test added.

Are there any user-facing changes?

No

@github-actions github-actions bot added core Core DataFusion crate catalog Related to the catalog crate labels Jan 9, 2026
@timsaucer timsaucer marked this pull request as ready for review January 9, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

catalog Related to the catalog crate core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StreamingTable does not project physical sort expressions

1 participant