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

[ReadMany] does not return results for partial hierarchical partiton keys #4946

Open
xperiandri opened this issue Jan 2, 2025 · 0 comments
Labels
customer-reported Issue created by a customer needs-investigation

Comments

@xperiandri
Copy link

Describe the bug
Having a container with partition keys /tenant_id, /user_id
Having an object

{
  "$type": "role",
  "id": "x",
  "tenant_id": "t"
}

executing ReadManyAsync with partition key new PartitionKeyBuilder().Add("t").AddNoneType().Build() reads nothing.
No other combination works too.

To Reproduce
Define objects as described above

Expected behavior
Read happens successfully and returns objects with partial hierarchical partition keys

Actual behavior
Nothing returned.

Environment summary
SDK Version: 3.47.0-preview.0

Additional context
Both Azure and Emulator works the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issue created by a customer needs-investigation
Projects
None yet
Development

No branches or pull requests

1 participant