Azure Synapse Analytics: Introduction To For Each Activity [Introduction to Synapse - Ep. 12]
Newsletter
Join our blog
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Start with the FREE community plan and get your lifetime access to 50+ courses. Get Instant Access Now!
Need help? Talk to an expert: (904) 638-5743
This blog post summarizes the key points from Mitchell Pearson’s video on Get Metadata Activity in Azure Synapse Analytics. This activity is essential for building dynamic, data-driven pipelines and understanding how to reference outputs effectively.
The Get Metadata Activity is a powerful tool within Synapse pipelines that allows developers to retrieve metadata about files, tables, or other resources. It is commonly used for dynamic workflows, validation, and automation.
The output is returned in JSON format, making it easy to reference in subsequent activities. For example:
@activity('GetMetadata1').output.lastModified
@activity('GetMetadata1').output.exist
These expressions can be used in conditional activities like Until or ForEach loops to control pipeline execution dynamically.
The Get Metadata Activity is one of the foundational tools in Synapse pipelines. It teaches developers how to work with dynamic content and reference outputs effectively. Mastering this activity opens the door to building scalable, automated data solutions.
For more tutorials and advanced Synapse techniques, visit Pragmatic Works.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Azure Synapse and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.
ABOUT THE AUTHOR
Mitchell Pearson has been with Pragmatic Works for 10 years as a Data Platform Consultant and the Training Manager. Mitchell has authored books on SQL Server, Power BI and the Power Platform. Data Platform experience includes designing and implementing enterprise level Business Intelligence solutions with the Microsoft SQL Server stack (T-SQL, SSIS, SSAS, SSRS), the Power Platform and Microsoft Azure.
Free Community Plan
private training
Newsletter
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Leave a comment