<?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: DBT RUN Command not working while invoked using subprocess.run in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/dbt-run-command-not-working-while-invoked-using-subprocess-run/m-p/108317#M9718</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147090"&gt;@dk09&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share the path of:&amp;nbsp;dbt_project_directory and also try inputting the folder path manually to debug it, does it still fail?&lt;/P&gt;</description>
    <pubDate>Sat, 01 Feb 2025 21:17:25 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-02-01T21:17:25Z</dc:date>
    <item>
      <title>DBT RUN Command not working while invoked using subprocess.run</title>
      <link>https://community.databricks.com/t5/get-started-discussions/dbt-run-command-not-working-while-invoked-using-subprocess-run/m-p/108036#M9717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using below code to run DBT Model from notebook.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dk09_0-1738320601721.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14482iB84C9B66037E193E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dk09_0-1738320601721.png" alt="dk09_0-1738320601721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using parameters to pass DBT run command(project directory, profile directory, schema name etc). The issue is, when I am running this code in my local workspace it is working fine but when I push this code to the workspace folder connected to git repository, the code does not works and throws exception "invalid path for profile" or "cannot find profile file".&lt;/P&gt;&lt;P&gt;When I try to read the profile.yml file in a dataframe from workspace folder connected to GIT, I am able to see the file contents. My question is why the DBT RUN command is not able to read the profile.yml file from the specified path.&lt;/P&gt;&lt;P&gt;Can anyone please suggest any workaround or solution to this.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 10:57:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/dbt-run-command-not-working-while-invoked-using-subprocess-run/m-p/108036#M9717</guid>
      <dc:creator>dk09</dc:creator>
      <dc:date>2025-01-31T10:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: DBT RUN Command not working while invoked using subprocess.run</title>
      <link>https://community.databricks.com/t5/get-started-discussions/dbt-run-command-not-working-while-invoked-using-subprocess-run/m-p/108317#M9718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147090"&gt;@dk09&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share the path of:&amp;nbsp;dbt_project_directory and also try inputting the folder path manually to debug it, does it still fail?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2025 21:17:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/dbt-run-command-not-working-while-invoked-using-subprocess-run/m-p/108317#M9718</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-01T21:17:25Z</dc:date>
    </item>
  </channel>
</rss>

