question

AbdullaMahammadKhanDawood-5577 avatar image
0 Votes"
AbdullaMahammadKhanDawood-5577 asked ·

How we can insert and upsert bulk documents into Cosmos DB SQL API through stored procedure

Hi All,

Good Day!!

How we can insert and upsert bulk documents into Cosmos DB SQL API through stored procedure.

And we are using databricks service to execute cosmos stored procedure through pyspark code, Also please help us in library which we need to use to execute bulk insert or upsert in Cosmos SQL API through stored procedure.

Appreciate if someone help share the code snippet of stored procedure for bulk document insert and upsert scenario and also the python library should support spark 3.0 version.

Thank you in anticipation!!

Best Regards,
Mahammad Khan

azure-cosmos-db
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AbdullaMahammadKhanDawood-5577

We are checking this and will get back to you.

Regards
Navtej S

0 Votes 0 ·

1 Answer

NavtejSaini-MSFT avatar image
0 Votes"
NavtejSaini-MSFT answered ·

@AbdullaMahammadKhanDawood-5577

Can you please check this thread and this for reference and let us know if you are looking for something similar.

Regards
Navtej S


· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AbdullaMahammadKhanDawood-5577 Please let us know if you need further help.

0 Votes 0 ·