Azure Cosmos DB

Have feedback for Azure Cosmos DB product? Submit your idea here or upvote other ideas. All feedback is monitored and reviewed by the Azure Cosmos DB team. 

This site is for feature suggestions only. For technical questions or issues, please submit them to StackOverflow,where we and the community can better help you.

Please use the following categories when submitting your idea.

SQL API: Query language features, syntax using SQL API, indexing, any other core features in Azure Cosmos DB.

Gremlin API: Graph features and capabilities using Gremlin API.

Cassandra API: Features and capabilities using Cassandra API.

MongoDB API: Features and capabilities using MongoDB API.

Table API: Features and capabilities using Table API.

Etcd API: Features related to using etcd as a configuration store for Kubernetes.

Azure Synapse Link: Features related to Azure Cosmos DBanalytical store and Azure Synapse Analytics run-time support

Built-in Notebooks: Features related to built-in Notebooks in Azure Cosmos DB.

SDK: Features related to Azure Cosmos DB SDKs for SQL API.

Change Feed: Features related to Change Feed.

Management: All management features, backup/restore,monitoring, ARM, PowerShell and CLI.

Portal: All features for Azure Portal and Cosmos DB Explorer.

Emulator: Features related to the Azure Cosmos Emulator.

Other: Features not related to any other category.

Security:
Authentication, authorization,permissions and encryption features.

Monitoring:
Metrics, monitoring, alerts,and diagnostics features.

Server-side: Stored procedures, Triggers,and User-Defined Functions.
  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Graph Gremlin query supports GeoJSON

    Does Cosmos DB supports GeoJSON for Graph Gremlin query?

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
  2. Partition keys should propagate to newly created vertices

    Assume a pre-existing graph whose vertices are on different partitions (and thus have different partition keys).

    Now, consider adding new vertices through new edges in bulk through the Gremlin API, e.g. like this:

    g.V().addE('l').to(__.addV('newVertex').property('PartitionKey', 'p')

    This would work just fine but it would possibly place the source and sink vertices into different partitions. If we would want them to remain on the same partition, we're currently lost with CosmosDB.

    The Tinkerpop API allows the property-step to specify a traversal, so the following query is actually possible in the Tinkerpop reference implementation and would solve the issue:

    g.V().as('source').addE('l').to(.addV('newVertex').property('PartitionKey', .select('source').id())

    This…

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
  3. DATA QUALITY: Please support graph transactions.

    Today, if a traversal fails at step n of m, figuring out what state the graph is in is quite a chore. As a result, all data modification traversals have to be written to support retries. Unfortunately, if the retrying component fails, the network fails, or something else fails, which prevents retry, the graph is left in an unknown state.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →

    Hello and thank you for your suggestion.

    While Cosmos DB provides support for transactions within a partition, we do not have support multi-step, cross-partition or distributed transactions.

    We recommend to customers requiring transactions across multi-step operations to coordinate these using the consistency model and optimistic concurrency control.

    Thank you for your suggestion.

  4. Do we have support for jdbcTemplate for cosmosDB config BasicDataSource in java with Spring?

    We are trying to pass dynamic binding of parameters and pass the response Enitity class which gets mapped with result set automatically after executing the query .

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SDK  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support ST_Buffer Spatial Function

    This is a great function I use frequently in SQL Server. It lets you to generate an area around a point. It makes Radius Searches much easier and flexible. I like to see this in Cosmos DB to make radius searches better.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SQL API  ·  Flag idea as inappropriate…  ·  Admin →
  6. Compositeindex (automatically or manually) on vertices and their out edges.

    Querys such as "g.V().hasLabel('staff').has(outE('WorksWith')) is prohibitively expensive with large datasets, adding a composite index with the vertex and edge would perhaps alleviate this.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
  7. Increase maximum properties in a composite index.

    I have a SQL query that filters 11 properties.
    But, in this page, maximum properties in a composite index is 8.
    So, I can't add a index for this query.
    I'd like greater number.

    https://docs.microsoft.com/en-us/azure/cosmos-db/concepts-limits#sql-query-limits

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SQL API  ·  Flag idea as inappropriate…  ·  Admin →
  8. Support for BATCH LOGGED across partitions

    Cassandra API does not currently support the BATCH LOGGED command across partitions.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Cassandra API  ·  Flag idea as inappropriate…  ·  Admin →
  9. Custom role operation for Cosmos DB

    Add operations to read, write and delete of firewall rule for Cosmos DB.
    I could find some other services like SQL, MariaDB and PostgreSQL are having those kinds of operations,
    so I was wondering why Cosmos DB doesn’t.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Security  ·  Flag idea as inappropriate…  ·  Admin →
  10. Add visibility in the portal to see if CMK is applied to a Cosmos deployment

    Add visibility in the portal to see if Customer Managed Keys (CMK) is applied to a Cosmos deployment. Currently the only way to tell if a Cosmos deployment has CMK applied, is to review the ARM extract, resource explorer or an appropriate API and check if the property keyVaultKeyUri is present.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  11. Graph DB - more query tabs

    You should add more query tabs on CosmosDB for Gremlin, so that users can run different queries and compare the result without deleting every time the content of the textbox

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  12. Fix IsUpsert=true bulk operations in MongoDB API

    Handling RU exceptions and retries correctly is ridiculously time consuming to get right. More so, when using bulk operations with IsUpsert=true, there is a bug in that CosmosDB silently fails without throwing any mongo db exception.

    See https://stackoverflow.com/questions/63351358/cosmosdb-mongodb-isupsert-not-working-for-bulk-updates

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  MongoDB API  ·  Flag idea as inappropriate…  ·  Admin →
  13. Remove or drastically increase the limit of 4096 points per polygon in cosmos spatial data

    Remove or drastically increase the limit of 4096 points per polygon in cosmos spatial data

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SQL API  ·  Flag idea as inappropriate…  ·  Admin →
  14. Please add feature that trigger Azure function, when when data is inserted only

    At now, there is feature that trigger Azure function, when when data is inserted or modified.
    Please add feature that trigger Azure function, when when data is inserted only.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Change Feed  ·  Flag idea as inappropriate…  ·  Admin →
  15. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. Linq keyword ALL is not supporting.

    We are using Linq to connect CosmosDB. While fetching Data from Cosmosdb we have to use Linq ALL keyword but we are getting error like ALL method is not supported. Is there any way to implement same functionality of ALL. Waiting for your response.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  17. Be able to add an alias containing a space in Cosmos SQL

    It would be nice to be able to use syntax such as

    select 1 as 'hello world' from c

    {
    'hello world': 1
    }

    to be able to select an alias containing a space. Resulting in the json attribute containing a space. Currently this gives a

    'Syntax error, incorrect syntax near ''hello world''.

    exception

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SQL API  ·  Flag idea as inappropriate…  ·  Admin →

    Hello and thank you for your suggest. We actually do support this but it’s rather complex to do it. We will add this to our back log to include in a future semester work item. For now I can provide you an example using our nutrition dataset from our docs on how you can write a query that does this.

    SELECT VALUE {’hello world’ : c.id, ‘words with spaces and all the characters I want !;28#)(*@#’: c.version}
    FROM c

    It produces:
    [
    {
    “hello world”: “10181”,
    “words with spaces and all the characters I want !;28#)(*@#”: 1
    },
    {
    “hello world”: “11987”,
    “words with spaces and all the characters I want !;28#)(*@#”: 1
    },
    {
    “hello world”: “07961”,
    “words with spaces and all the characters I want !;28#)(*@#”: 1
    },
    {
    “hello world”: “10180”,
    “words with spaces and all the characters I want !;28#)(*@#”: 1
    },
    {
    “hello world”: “11986”,…

  18. File name messes up with status after uploading JSON documents to Cosmos DB

    File name messes up with status after uploading JSON documents to Cosmos DB when the file name is a little too long. It ruins the look and feel of Azure

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  19. Transaction across multiple containers by SDKs.

    Currently, Cosmos DB doesn't have transactions across multiple containers.
    It's very useful to do atomic writing or updating documents.
    And, I'm using the Node.js SDK, so I'd be happy if I could do it with it.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  SQL API  ·  Flag idea as inappropriate…  ·  Admin →
  20. Database backend for django

    Would be great if a django db banckend in provided

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →

    Hello and thanks for your suggestion.

    We do not see much demand for Django with Cosmos DB so this is unlikely to make it on our roadmap.

    Will mark as unplanned for now and monitor if there is significant votes over time we will take another look at it.

    Thanks.

  • Don't see your idea?

Feedback and Knowledge Base