azure - How can I verify data uploaded to CosmosDB? -


i have dataset of 442k json documents in single ~2.13gb file in azure data lake store.

i've upload collection in cosmosdb via azure data factory pipeline. pipeline completed successfully.

but when went cosmosdb in azure portal, noticed collection size 1.5 gb. i've tried run select count(c.id) c collection, returns 19k. i've seen complains count function not reliable.

if open collection preview, first ~10 records match expectations (ids , content same in adls file).

is there way real record count? or other way sure nothing lost during import?

according article, find:

when using azure portal's query explorer, note aggregation queries may return partially aggregated results on query page. sdks produces single cumulative value across pages. in order perform aggregation queries using code, need .net sdk 1.12.0, .net core sdk 1.1.0, or java sdk 1.9.5 or above.

so suggest firstly try use azure documentdb sdk count value.

more details how use , refer article.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -