Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute queries concurrently in one worksheet #161

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mahanteshimath
Copy link

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.
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
image

Use cases of parallel query executions are many in the real world.

Some examples

  1. Independent procedures can be called parallelly.
  2. Independent sql(DDL, DML, DCL, TCL and DQL) can be executed parallelly. ..etc
    As a developer, I was creating multiple SQL worksheets or taking other developers help for running queries parallelly

How to execute queries concurrently in one worksheet
@mahanteshimath
Copy link
Author

mahanteshimath commented Feb 5, 2025

@jdanielmyers Please see this :)

Complete Demo : https://www.youtube.com/watch?v=RGiB1cRMzc0

I hope you're doing well. I'm not sure if you remember me. I'm the random guy you met at the recent Build event in Bengaluru. (You mentioned that I liked the Huddy-streamlit one.) You were just passing between rows.

@mahanteshimath
Copy link
Author

@scottteal
Please see this :)

Complete Demo: https://www.youtube.com/watch?v=RGiB1cRMzc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant