<?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 Trigger a Databricks Job When there is an insert to a Snowflake Table? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112404#M44201</link>
    <description>&lt;P&gt;I need to automatically trigger a Databricks job whenever a new row is inserted to a Snowflake table. Additionally, I need the job to receive the exact details of the newly inserted row as parameters.&lt;/P&gt;&lt;P&gt;What are the best approaches to achieve this? I’m considering options like Snowflake Streams,&amp;nbsp; AWS EventBridge, Lambda, or any other efficient method that integrates well with Databricks.&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar?&lt;/P&gt;&lt;P&gt;Any guidance or best practices would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 17:51:15 GMT</pubDate>
    <dc:creator>abelian-grape</dc:creator>
    <dc:date>2025-03-12T17:51:15Z</dc:date>
    <item>
      <title>Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112404#M44201</link>
      <description>&lt;P&gt;I need to automatically trigger a Databricks job whenever a new row is inserted to a Snowflake table. Additionally, I need the job to receive the exact details of the newly inserted row as parameters.&lt;/P&gt;&lt;P&gt;What are the best approaches to achieve this? I’m considering options like Snowflake Streams,&amp;nbsp; AWS EventBridge, Lambda, or any other efficient method that integrates well with Databricks.&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar?&lt;/P&gt;&lt;P&gt;Any guidance or best practices would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 17:51:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112404#M44201</guid>
      <dc:creator>abelian-grape</dc:creator>
      <dc:date>2025-03-12T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112436#M44208</link>
      <description>&lt;P&gt;I think lamba function/ event bridge would be a good way - You can query your snowflake table there and create logic for any new row insert mabe CDC etc and then you send a job trigger using databricks API / databricks SDK&amp;nbsp;&lt;BR /&gt;where you can pass your newly inserted rows as job parameters.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/runnow" target="_blank"&gt;https://docs.databricks.com/api/workspace/jobs/runnow&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't know the exact purpose of the job but if you want&amp;nbsp; to be in databricks environment completely you can also try lakehouse federation for snowflake.&lt;BR /&gt;- this way you can bring your table as foreign catalog in databricks and&lt;BR /&gt;- then maybe create a materialized view on top of it with cdf enabled ,&lt;BR /&gt;- and set file trigger for the location where the mv table writes and then create your job whenever anything will be written in the mv table your job will trigger.&amp;nbsp;&lt;BR /&gt;i don't know how exactly will it work but if you want to be in databricks ecosystem lakehouse federation with snowflake can be given a try or else first option is better.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/query-federation/snowflake" target="_blank"&gt;https://docs.databricks.com/aws/en/query-federation/snowflake&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 04:40:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112436#M44208</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-03-13T04:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112585#M44262</link>
      <description>&lt;P&gt;Is there any reason no to simply use databricks workflow with a continous trigger to consume from a snowflake stream?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 13:30:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112585#M44262</guid>
      <dc:creator>abelian-grape</dc:creator>
      <dc:date>2025-03-14T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112645#M44281</link>
      <description>&lt;UL&gt;&lt;LI&gt;You cannot read a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/delta/delta-change-data-feed" target="_blank"&gt;change data feed&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;materialized view.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/views/materialized" target="_blank"&gt;https://docs.databricks.com/aws/en/views/materialized&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 02:50:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112645#M44281</guid>
      <dc:creator>abelian-grape</dc:creator>
      <dc:date>2025-03-15T02:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112646#M44282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99588"&gt;@abelian-grape&lt;/a&gt;&amp;nbsp; , My bad - it will be either a streaming or managed table&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 03:48:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112646#M44282</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-03-15T03:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a Databricks Job When there is an insert to a Snowflake Table?</title>
      <link>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112822#M44346</link>
      <description>&lt;P&gt;what do you mean by "&lt;SPAN&gt;set file trigger for the location where the mv table writes and then create your job whenever anything will be written in the mv table your job will trigger." ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Isn't the file trigger for external location such as s3? It will work for snowflake foreign catalog?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:33:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trigger-a-databricks-job-when-there-is-an-insert-to-a-snowflake/m-p/112822#M44346</guid>
      <dc:creator>abelian-grape</dc:creator>
      <dc:date>2025-03-17T16:33:07Z</dc:date>
    </item>
  </channel>
</rss>

