I try to replicate some common data & analytics workflows using Delta Live Tables. Currently I am struggling with wrapping my head around on how to achieve below requirements:
- Have different targets (hive metastore) to write into based on dev or prod
- Being able to pull from different branches based on dev or prod pipeline
Let's assume I have a single Delta Live Table Pipeline that imports multiple notebooks. The notebooks sit in a repo location. I don't have an option to point to a specific branch. This prevents me from having multiple copies of the pipeline, one having a dev and one having prod as target.
When scheduling a notebook using Jobs and Tasks (rather than a single Delta Live Table Pipeline which can contain multiple notebooks), I can select the branch. Downside is that I am basically manually defining the DAG based on how I glue the tasks together. Not very robust.
Is there a way to achieve the same with Delta Live Table Pipelines?