title: How do you get DDL of a task in Snowflake?
body: <p>In Snowflake, you can use the get_ddl function like this to get ddl for tables, views and procedures:</p>
  
  <pre><code>select get_ddl('view', 'SOME_VIEW_I_CREATED')
  </code></pre>
  
  <p>But it doesn't seem you can do this with tasks.</p>
  
  <p>Is there any way to easily get DDL for snowflake tasks?</p>
  
  <p><strong>NOTE: get_ddl is now supported in tasks in snowflake.</strong></p>