Skip to content

Query: Fixes non streaming order by queries to not be tagged as passthrough queries#5273

Merged
microsoft-github-policy-service[bot] merged 6 commits into
masterfrom
users/ndeshpan/passthroughFix
Jul 8, 2025
Merged

Query: Fixes non streaming order by queries to not be tagged as passthrough queries#5273
microsoft-github-policy-service[bot] merged 6 commits into
masterfrom
users/ndeshpan/passthroughFix

Conversation

@neildsh

@neildsh neildsh commented Jul 7, 2025

Copy link
Copy Markdown
Contributor

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

@adityasa adityasa left a comment

Copy link
Copy Markdown
Contributor

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

@adityasa adityasa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

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.

3 participants