[英]How to get distinct values applying an azure table storage query?
I want to get the "ReceiverEmail" values of a certain PartitionKey "emailAddress".我想获取某个 PartitionKey“emailAddress”的“ReceiverEmail”值。 I want to retrieve only the distinct values of the ReceiverEmail.我只想检索 ReceiverEmail 的不同值。 I am applying this python query on an azure storage table as follows:我在 azure 存储表上应用此 python 查询,如下所示:
entit = table_service.query_entities('UserRequests','PartitionKey eq \'' + emailAddress + '\'',select= 'ReceiverEmail')
Any help of how to get distinct values ?关于如何获得不同值的任何帮助?
It seems that it is impossible to directly query distinct values.似乎不可能直接查询不同的值。 This official document states the operations that are not supported:本官方文档说明了不支持的操作:
https://docs.microsoft.com/en-us/rest/api/storageservices/query-operators-supported-for-the-table-service#unsupported-query-operators https://docs.microsoft.com/en-us/rest/api/storageservices/query-operators-supported-for-the-table-service#unsupported-query-operators
If you want this feature, you can go to the feedback website
to post your suggestions, and the Azure development team may adopt your suggestions:如果你想要这个功能,可以到feedback website
发表你的建议,Azure 开发团队可能会采纳你的建议:
https://feedback.azure.com/forums/34192--general-feedback https://feedback.azure.com/forums/34192--general-feedback
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.