Azure Databricks and Multi-Task Jobs and Notebook activity

Gopinath Rajee 656 Reputation points
2022-05-09T04:36:09.4+00:00

All,

We have lot of tables to load for which we plan to use notebook activity. We will read the set of tables call the notebook in a loop each time passing the next table in the loop. While the notebook activity method gives you the looping method it also has the disadvantage of running each call in a new jobcluster.

Comparatively, Multi-Task Job seems to offer an alternative which enables you to run many tasks in the same cluster they are also workflow based. Is there a way I can pass a set of parameters that (5 tables for example) once the first run completes (for the 5 tables). If this possible, I can for example, setup 5 tasks multi-task job and keep passing it 5 table names every time one run completes.

Thanks,
Gopi

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,517 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2022-05-10T04:54:24.633+00:00

    Hello @Gopinath Rajee ,

    Thanks for the question and using MS Q&A platform.

    You can use Run Now with Different Parameters to re-run a job with different parameters or different values for existing parameters.

    For more details, refer to Azure Databricks - Run a job with different parameters.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.