lee
lee

Reputation: 758

Azure table query partial partitionkey guid match

I have the below PartitionKey and want to find it via a "EndsWith" "092a2dca-7107-4859-a129-e590ebd86614" query.

e306cdfc-f573-490c-937b-c283f2d61e6c|092a2dca-7107-4859-a129-e590ebd86614

Is there a way to do this via the Compare string method which is supported?

Upvotes: 2

Views: 1980

Answers (2)

cory-fowler
cory-fowler

Reputation: 4088

I'd suggest watching this cloud cover episode where Jai Haridas walks through designing for scale in windows azure storage

Upvotes: 1

dampee
dampee

Reputation: 3437

The answer is no.

Do not do a partial look up on a Partition Key, that results in a regular old table scan.

Upvotes: 3

Related Questions