azure-cosmos-db-emulator-docker icon indicating copy to clipboard operation
azure-cosmos-db-emulator-docker copied to clipboard

Query with order by strings

Open Compusa opened this issue 8 months ago • 3 comments

Is your feature request related to a problem? Please describe. Missing feature support for Query with order by strings (not yet implemented).

Describe the solution you'd like Would like this missing feature to be prioritised and implemented.

Describe alternatives you've considered The alternative would be to not use the emulator, or investigate if there would be other ways to write these queries to achieve the same result.

Additional context Not yet implemented according to this page.

This one should have the label cosmosEmulatorVnextPreview.

Compusa avatar Mar 28 '25 10:03 Compusa

I'm seeing this supported in the latest version tagged on 2025-04-03T05:31:07.647555634Z with the predicateORDER BY c.date DESC and the date field containing ISO 8601 style dates, like "2025-03-29T04:24:17.949Z".

andyvanosdale avatar Apr 03 '25 05:04 andyvanosdale

I'm seeing this supported in the latest version tagged on 2025-04-03T05:31:07.647555634Z with the predicateORDER BY c.date DESC and the date field containing ISO 8601 style dates, like "2025-03-29T04:24:17.949Z".

Can you please tell me where can I find these other tags for vnext? I tried to search on MCR with no luck.

I guess using the vnext-preview tag will be enough and verify that you have the latest image with: docker inspect mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview | grep Created

I have seen some posts here using the latest tag, but for me, it seems like I get the old emulator with that tag.

Compusa avatar Apr 15 '25 08:04 Compusa

@Compusa How are you pulling? Try docker pull mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview and post what it shows.

andyvanosdale avatar Apr 15 '25 16:04 andyvanosdale

We are closing this issue as it is already supported in a recent release. If there's any further issues, please reopen this issue or open another one.

lionelc avatar Jun 24 '25 16:06 lionelc