Skip to content

Commit

Permalink
cli: multiprocessing for creating tables
Browse files Browse the repository at this point in the history
  • Loading branch information
unytics committed Nov 29, 2023
1 parent 2618bd7 commit a7812ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigfun/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def load_table(table, project, dataset):
tables = [table]

with multiprocessing.Pool(processes=8) as pool:
pool.starmap(
pool.map(
upload_table,
[f'{project}.{dataset}.{table}' for dataset in datasets for table in tables]
)
Expand Down

0 comments on commit a7812ad

Please sign in to comment.