<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access workflow settings from within a notebook. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11077#M6116</link>
    <description>&lt;P&gt;Hi @Ben Bogart​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 09:49:43 GMT</pubDate>
    <dc:creator>Vidula</dc:creator>
    <dc:date>2022-09-20T09:49:43Z</dc:date>
    <item>
      <title>Access workflow settings from within a notebook.</title>
      <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11073#M6112</link>
      <description>&lt;P&gt;I have a notebook used for a dlt pipeline.  The pipeline should perform an extra task if the pipeline is run as a full refresh.   Right now, I have to set an extra configuration parameter when I run a full refresh.  Is there a way to programmatically access whether the current run is a full_refresh or a regular run?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 18:57:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11073#M6112</guid>
      <dc:creator>159312</dc:creator>
      <dc:date>2022-08-05T18:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Access workflow settings from within a notebook.</title>
      <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11075#M6114</link>
      <description>&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;I would like to automate this from within a notebook that is a part of multiple pipelines.  Both solutions require knowing the `pipeline_id`.  How can I access the pipeline id from within a pipeline run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Links for future readers:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-event-log.html" alt="https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-event-log.html" target="_blank"&gt;Documentation for querying the log&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:09:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11075#M6114</guid>
      <dc:creator>159312</dc:creator>
      <dc:date>2022-08-10T15:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Access workflow settings from within a notebook.</title>
      <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11076#M6115</link>
      <description>&lt;P&gt;pipeline id for the run can be found using: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.conf.get("pipelines.id")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:10:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11076#M6115</guid>
      <dc:creator>kfoster</dc:creator>
      <dc:date>2022-08-30T12:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Access workflow settings from within a notebook.</title>
      <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11077#M6116</link>
      <description>&lt;P&gt;Hi @Ben Bogart​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 09:49:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11077#M6116</guid>
      <dc:creator>Vidula</dc:creator>
      <dc:date>2022-09-20T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access workflow settings from within a notebook.</title>
      <link>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11074#M6113</link>
      <description>&lt;P&gt;@Ben Bogart​&amp;nbsp;The create_update event log table can be queried to know if it is a full_refresh or a regular run. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, in addition,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;2.0/pipelines/{pipeline_id}/updates&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The above API call should return the update ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then get update details for that update_id by using the below API:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;2.0/pipelines/{pipeline_id}/updates/{update_id}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The JSON response body should have a field&amp;nbsp;'full_refresh: true|false'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 16:30:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-workflow-settings-from-within-a-notebook/m-p/11074#M6113</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-08-08T16:30:02Z</dc:date>
    </item>
  </channel>
</rss>

