Git Product home page Git Product logo

documentdbr's People

Contributors

timoklimmer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

documentdbr's Issues

Rename Library to Reference "CosmosDB" Product Name

Last year, Microsoft moved the DocumentDB service under the "CosmosDB" service and now refers to it as the "SQL API for CosmosDB". When people search for things like "access cosmosdb from r", they may not find this solution since it's using the old name.

I propose that we rename the package to something like "CosmosdbR" to make it easier for potential users to find it.

Feel free to assign this issue to me if you would like for me to tackle it. I'd be glad to work on it!

Automatically recover from 429

Your package is extremely simple to use, thanks for this!!

When doing repeated document queries to our documentDB instance, I get the following 429 error in an unpredictable fashion (probably because one of our other services is performing actions?):

Error in selectDocuments(connectionInfo, queryText = query, enableCrossPartitionQuery = TRUE) : 
  A 429 error occured during DocumentDB querying. Error Message: Message: {"Errors":["Request rate is large"]}
ActivityId: b2cfdc24-5b03-4eab-b6c8-c84e94d67d79, Request URI: /apps/514defcb-ac21-44e6-a8e0-c7b785523c6c/services/23357e57-84ba-4eb6-adc1-6df21ed8b5b4/partitions/6b5f2f77-b2b3-4dc0-a698-4d4ee891684a/replicas/131681651295792435s/, RequestStats: 
ResponseTime: 2018-05-01T14:21:57.1720496Z, StoreReadResult: StorePhysicalAddress: rntbd://bl4prdddc02-docdb-1.documents.azure.com:14294/apps/514defcb-ac21-44e6-a8e0-c7b785523c6c/services/23357e57-84ba-4eb6-adc1-6df21ed8b5b4/partitions/6b5f2f77-b2b3-4dc0-a698-4d4ee891684a/replicas/131681651295792435s/, LSN: 8841342, GlobalCommittedLsn: 8841341, PartitionKeyRangeId: , IsValid: True, StatusCode: 0, IsGone: False, IsNotFound: False, IsInvalidPartition: False, RequestCharge: 0.38, ItemLSN: -1, ResourceType: Document, OperationType: Query
, SDK: Microsoft.Azure.Documents.Common/1.22.0.0

Is there a way in your package to keep retrying until the query executes? If not, I'm happy to do a PR if you can provide some pointers on where you think this functionality should be added.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.