Azure/azure-sdk-for-python

Sorting for Cosmos Table API not working similar to Azure Table Storage API which is on RowKey Column

shubhAIEgon opened this issue · 5 comments

  • **Package Name azure.cosmosdb.table:
  • **Package Version 4.0.0b1:
  • **Operating System Windows:
  • **Python Version 3.10:

Describe the bug
When migrating from Azure Storage Table API to Azure Cosmos DB Table API. The sorting of entities used to work on basis of RowKey in Azure Storage Table but In the Azure Cosmos DB Table API It seems to be working on Timestamp column is there a way to add latest record on top of table?

Please find the screen shot attached where issue can clearly be seen

screenshot cosmos issue

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @klaaslanghout.

@YalinLi0312 maybe you might have some insight here?

Note: seems you are using the azure-cosmosdb-table package which has been superseded by azure-data-tables. There is a migration guide.

Hi @shubhAIEgon , can you try with azure-data-tables? Let us know if the issue still exists. Thanks

@YalinLi0312 @pvaneck just tried the same with azure-data-tables no difference.

Thanks for the feedback, we'll investigate ASAP!