Skip to content

What is the proper way to search all partitions when enabling partition key isolation? #40255

Discussion options

You must be logged in to vote

I just read the source code. It seems with partition key isolation enabled, you must input a partition key in the expression, or it throws this error:

return errors.New("partition key not found in expr or the expr is invalid when validating partition key isolation")

I didn't find a workaround to search the entire collection. It may be a bug of feature design.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@guzy0324
Comment options

@yhmo
Comment options

yhmo Feb 28, 2025
Collaborator

Answer selected by guzy0324
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants