Tags "azure-cosmosdb" Result

update cosmosDB azure sql

I'm trying to update a value of document created on cosmosDB azure using sql api. The problem is that the requests update/ delete/ Insert don't work. client.queryDocuments( collectionUrl, UPDATE tableC SET prev = 12 WHERE condition ).toArray((err, results) => { if (err) res.json({ 'A': 12 }); else { res.json({ 'A

it1352 2 2020-09-16

How to store bot state in Redis cache

Though there are some articles describing how to store bot state in redis cache, is that the recommended approach ? https://ankitbko.github.io/2016/10/Microsoft-Bot-Framework-Use-Redis-to-store-conversation-state/ I tried using Dependency injection and used Redis cache. Though the application does not throw any error, I don't see any key and val

it1352 0 2020-07-18

How can I backup an Azure Cosmos DB

I have an Azure Cosmos DB and I need to delete all the resources from this subscription. Is there any way to take a backup offline from the portal? Solution You can use Data Migration Tool suggested on Automatic online backup and restore with Azure Cosmos DB article to do the same. There is no way to take a backup and import to Azure CosmosDB. The

it1352 2 2020-09-16

PartitionKey value must be supplied for this operation

I am trying to retrieve a document from the Azure Cosmos Db Collection. I am running into an error Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.UnsupportedOperationException: PartitionKey value must be supplied for this operation.] with root caus

it1352 2 2020-09-16

Azure CosmosDB (Gremlin API), How to connect using Gremlin.Net

I am trying to use the Gremlin.Net NuGet package to connect to Azure CosmosDB (Gremlin API), using the Package https://www.nuget.org/packages/Gremlin.Net On Azure Portal, I can obtain the Key (used on CosmosDB client NuGet packages: Microsoft.Azure.DocumentDB and Microsoft.Azure.Graphs) How can I obtain the ssl, port, username and password cr

it1352 1 2020-09-16

cosmosdb - archive data older than n years into cold storage

I researched several places and could not find any direction on what options are there to archive old data from cosmosdb into a cold storage. I see for DynamoDb in AWS it is mentioned that you can move dynamodb data into S3. But not sure what options are for cosmosdb. I understand there is time to live option where the data will be deleted after ce

it1352 2 2020-09-16

Spark libraries conflect when cosmosdb Lib

I keep getting a spark library conflict with cosmosdb libraries and unable to resolve it. Please help??? build.sbt name := "myApp" version := "1.0" scalaVersion := "2.11.8" libraryDependencies = Seq( "org.apache.spark" % "spark-core_2.11" % "2.3.0", "org.apache.spark" % "spark-sql_2.11" % "2.3.0" , "org.apache.spark" % "spark-streaming_2.11"

it1352 2 2020-09-16