<?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: Can we use a variable to mention the path in the %run command in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17135#M11185</link>
    <description>&lt;P&gt;Thanks, to my understanding and experience use of variable is not possible with %run, Thanks for your update&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 10:28:34 GMT</pubDate>
    <dc:creator>thushar</dc:creator>
    <dc:date>2022-06-29T10:28:34Z</dc:date>
    <item>
      <title>Can we use a variable to mention the path in the %run command</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17132#M11182</link>
      <description>&lt;P&gt;To compile the Python scripts in Azure notebooks, we are using the magic command %run.&lt;/P&gt;&lt;P&gt;The first parameter for this command is the notebook path, is it possible to mention that path in a variable (we have to construct this path dynamically during the run) and use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myNotebookPath = '/Shared/myNotebook'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%run myNotebookPath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 06:04:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17132#M11182</guid>
      <dc:creator>thushar</dc:creator>
      <dc:date>2022-06-21T06:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use a variable to mention the path in the %run command</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17133#M11183</link>
      <description>&lt;P&gt;@Thushar R​&amp;nbsp;I don't think it is possible to pass the notebook path in a variable and run it with a %run.&lt;/P&gt;&lt;P&gt;I believe you can make use of notebook workflows. Notebook workflows are a complement to&amp;nbsp;&lt;/P&gt;&lt;P&gt;%run&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html#notebook-workflows" target="test_blank"&gt;https://docs.databricks.com/notebooks/notebook-workflows.html#notebook-workflows&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 09:14:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17133#M11183</guid>
      <dc:creator>User16752242622</dc:creator>
      <dc:date>2022-06-21T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use a variable to mention the path in the %run command</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17135#M11185</link>
      <description>&lt;P&gt;Thanks, to my understanding and experience use of variable is not possible with %run, Thanks for your update&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 10:28:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17135#M11185</guid>
      <dc:creator>thushar</dc:creator>
      <dc:date>2022-06-29T10:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use a variable to mention the path in the %run command</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17136#M11186</link>
      <description>&lt;P&gt;Hi @Thushar R​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Do you still need help or you were able to find a solution? please let us know&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 20:25:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-use-a-variable-to-mention-the-path-in-the-run-command/m-p/17136#M11186</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-07-29T20:25:50Z</dc:date>
    </item>
  </channel>
</rss>

