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

[Dev] Enqueue multiple SQLs #1696

Closed
ADBond opened this issue Nov 3, 2023 · 0 comments
Closed

[Dev] Enqueue multiple SQLs #1696

ADBond opened this issue Nov 3, 2023 · 0 comments
Assignees

Comments

@ADBond
Copy link
Contributor

ADBond commented Nov 3, 2023

As mentioned in this PR within various internal methods we frequently use the pattern:

for sql in sqls:
    linker._enqueue_sql(sql["sql"], sql["output_table_name"])

Might be nice if instead we replaced with something like:

linker._enqueue_multiple_sqls(sqls)

which does this under the hood.

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

No branches or pull requests

2 participants