Hi Ashwini Gaikwad ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query here.
Based on the provided information, it seems that you are trying to create materialized views via DLT pipelines . However, the DLT pipelines fail during the initialization stage with the error message "You attempted to update an empty pipeline. This error usually means no tables were discovered in your specified source code. Please verify your source code contains table definitions."
It is important to ensure that the necessary permissions and access are granted to the user or service principal creating the materialized views. Specifically, Kindly ensure that the service principal running the DLT pipeline has:
- Read access to the source catalog/schema where the base tables reside.
- Write access to the target catalog/schema where the materialized views will be created.
Additionally, kindly make sure to use fully qualified table name.
Hope it helps. Kindly let us know how it goes. Thankyou