Export compiled code lets you download the SQL generated from your pipelines. This is useful when you want to review the SQL produced by Prophecy, run it outside Prophecy, or share it with other teams working directly in the warehouse. You start the export from the project menu in the Studio header. During export, you choose whether to download code for the entire project or for a single pipeline, and Prophecy packages the compiled SQL into a ZIP file.Documentation Index
Fetch the complete documentation index at: https://docs.prophecy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Export compiled code
- Click the arrow to the right of your project’s name in the Studio header.
- Select Export Compiled Code from the menu.
- In the dialog box, choose whether to download code for the entire project or for a single pipeline.
- Click Download Zip File.
Exported file structure
The downloaded ZIP file contains a folder for the project. Inside the project folder, each pipeline appears in its own subfolder. Each pipeline folder contains one or more SQL files generated from the pipeline. Example structure:test_pipeline__demographics_culture.sqlcorresponds to thedemographics_cultureaggregation gem.test_pipeline__popular_song_by_country.sqlcorresponds to thepopular_song_by_countrygem.test_pipeline__customer_culture_join.sqlcorresponds to thecustomer_culture_joinjoin gem that feeds downstream branches.

