Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: Fixes (workaround) for query plan issue where placeholder index does not start at zero #4885

Conversation

neildsh
Copy link
Contributor

@neildsh neildsh commented Nov 12, 2024

Description

During query plan generation, we were using the loop index index over order by expressions as the index for placeholders within component queries. However, VectorDistance expressions do not require placeholders. As a result the output placeholder indexes may not always start at 0. The fix for this is currently in PR on the gateway.

We are putting this workaround in the SDK until the gateway fix is deployed.

Type of change

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

@neildsh neildsh added QUERY auto-merge Enables automation to merge PRs labels Nov 13, 2024
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:

@kundadebdatta kundadebdatta changed the title Query: Fixes (workaround) for query plan issue where placeholder index does not start at zero [Internal] Query: Fixes (workaround) for query plan issue where placeholder index does not start at zero Nov 13, 2024
@kundadebdatta kundadebdatta changed the title [Internal] Query: Fixes (workaround) for query plan issue where placeholder index does not start at zero Query: Fixes (workaround) for query plan issue where placeholder index does not start at zero Nov 13, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot merged commit 80ea40a into master Nov 13, 2024
25 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot deleted the users/ndeshpan/placeholderIndexWorkaround branch November 13, 2024 21:06
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