I need to know if the Azure Storage tables were indexed by RowKey separately from PartitionKey in order to fulfill this kind of query ...
Assumption. In my table there are forum posts containing PartitionKey = UserEMail, RowKey = PostInstant. So, I want to request like this ...
SELECT data FROM forum WHERE PartitionKey=" user@company.com " AND RowKey < DateLimit;
(Note: I know that PostInstant needs to be written “inverted” in order to take advantage of the upward sort and thus get it in descending order, this is not the point).
As I understand it, by explicitly specifying PartitionKey, the request goes well along the performance path, but after that ... will RowKey be reasonably used to: a) give the results sorted and b) stop the scan after reaching DateLimit?
Or, in other words, does the indexing of the Azure Storage Table apply to the concatenation of PartitionKey + RowKey, so is it only useful for matching rows and completely sorting the table?
source share