<?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 %run not printing notebook output when using 'Run All' command in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27443#M19315</link>
    <description>&lt;P&gt;I have been using the %run command to run auxiliary notebooks from an "orchestration" notebook. I like using %run over dbutils.notebook.run because of the variable inheritance, troubleshooting ease, and the printing of the output from the auxiliary notebooks to the orchestration notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday, when I was using %run, it was working as expected. Today, when I use %run, it is acting differently. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I no longer have to send arguments using the following:&lt;/P&gt;&lt;P&gt;%run ./some-notebook $var = arg $var2 = arg&lt;/P&gt;&lt;P&gt;Instead, it is sending var and var2 defined elsewhere in the notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When using 'Run All' from the tool bar, the %run command no longer prints the output of the auxiliary notebook. It only shows the execution time. However, if I run the command individually (shift+enter in the cell), it will show the output. Is there a way to be able to run the whole notebook and still see the %run output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 19:33:23 GMT</pubDate>
    <dc:creator>aaronpetry</dc:creator>
    <dc:date>2022-10-13T19:33:23Z</dc:date>
    <item>
      <title>%run not printing notebook output when using 'Run All' command</title>
      <link>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27443#M19315</link>
      <description>&lt;P&gt;I have been using the %run command to run auxiliary notebooks from an "orchestration" notebook. I like using %run over dbutils.notebook.run because of the variable inheritance, troubleshooting ease, and the printing of the output from the auxiliary notebooks to the orchestration notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday, when I was using %run, it was working as expected. Today, when I use %run, it is acting differently. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I no longer have to send arguments using the following:&lt;/P&gt;&lt;P&gt;%run ./some-notebook $var = arg $var2 = arg&lt;/P&gt;&lt;P&gt;Instead, it is sending var and var2 defined elsewhere in the notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When using 'Run All' from the tool bar, the %run command no longer prints the output of the auxiliary notebook. It only shows the execution time. However, if I run the command individually (shift+enter in the cell), it will show the output. Is there a way to be able to run the whole notebook and still see the %run output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 19:33:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27443#M19315</guid>
      <dc:creator>aaronpetry</dc:creator>
      <dc:date>2022-10-13T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: %run not printing notebook output when using 'Run All' command</title>
      <link>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27444#M19316</link>
      <description>&lt;P&gt;Hi @Aaron Petry​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &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>Fri, 25 Nov 2022 06:38:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27444#M19316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-25T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: %run not printing notebook output when using 'Run All' command</title>
      <link>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27445#M19317</link>
      <description>&lt;P&gt;Hi Vidula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No worries! What I've found is that if I create a new command with the same %run command, it will then show the output. It will work for some time until it decides it doesn't want to show output anymore, so then I just create a new command with the same %run line, and then it starts to work again. This should be okay for the time being. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 16:37:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-not-printing-notebook-output-when-using-run-all-command/m-p/27445#M19317</guid>
      <dc:creator>aaronpetry</dc:creator>
      <dc:date>2022-12-05T16:37:24Z</dc:date>
    </item>
  </channel>
</rss>

