Skip to content

Conversation

@neildsh
Copy link
Contributor

@neildsh neildsh commented Jul 7, 2025

Description

Since the addition of non-streaming order by, it is no longer safe to treat single partition order by queries as passthrough, as it can lead to incorrect results for ORDER BY VectorDistance and ORDER BY RANK queries. This PR fixes the issue by adding a check for non-streaming order by queries in the passthrough query creation logic.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

adityasa
adityasa previously approved these changes Jul 8, 2025
Copy link
Contributor

@adityasa adityasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@neildsh neildsh added QUERY auto-merge Enables automation to merge PRs labels Jul 8, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot enabled auto-merge (squash) July 8, 2025 06:47
Copy link
Contributor

@adityasa adityasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

This was referenced Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Enables automation to merge PRs QUERY

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants