I'm trying to export data from CosmosDB to a different collection, by query.
I created a function with that query as CosmosDB binding parameter.
The function keeps timing out because the query results set is too large, and takes more than 5 minutes to retrieve.
Any suggestions how to run the export using Azure functions? Or should I take a different approach?