Execute queries concurrently in one worksheet #161
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
More than year back submitted this idea. (20 votes now)
I was looking for Something like https://help.sap.com/docs/SAP_HANA_PLATFORM/de2486ee947e43e684d39702027f8a94/8db200a4f585490c81c4930689ec1a5c.html
I found a workaround. Please see this repo, which can be included/merged in open-source SF labs.
![image](https://private-user-images.githubusercontent.com/13198314/410131492-9d579078-367b-4ba5-806c-002cbec2811b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Mzk3MzEsIm5iZiI6MTczOTYzOTQzMSwicGF0aCI6Ii8xMzE5ODMxNC80MTAxMzE0OTItOWQ1NzkwNzgtMzY3Yi00YmE1LTgwNmMtMDAyY2JlYzI4MTFiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE3MTAzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxZTFmODE4NzM1ODI3ZGU2Y2Y1MzE2N2FjMWM5ODRhNTkyZTNlOTQxNGI2YmU2MzM2MjVlMTg3YWI0NGM1ZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BnIy1jqBaGi6xBKhqZaipRPswMWa-bSvNcF2YKcg9x4)
With Snowpark I built a function that will be helpful to the community.(Let me know if any formatting/rewrite needed)
https://github.com/mahanteshimath/EXECUTE_SNOWFLAKE_QUERIES_PARALLELLY
Use cases of parallel query executions are many in the real world.
Some examples
As a developer, I was creating multiple SQL worksheets or taking other developers help for running queries parallelly