<?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: Error 95 when importing one Notebook into another in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4372#M1113</link>
    <description>&lt;P&gt;import works for .py files.&lt;/P&gt;&lt;P&gt;.%run is for notebooks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is lib a .py file or a notebook?&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 13:25:48 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2023-05-15T13:25:48Z</dc:date>
    <item>
      <title>Error 95 when importing one Notebook into another</title>
      <link>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4371#M1112</link>
      <description>&lt;P&gt;When I follow the instructions &lt;A href="https://docs.databricks.com/notebooks/share-code.html#modularize-your-code-using-files" alt="https://docs.databricks.com/notebooks/share-code.html#modularize-your-code-using-files" target="_blank"&gt;Modularize your code using files&lt;/A&gt; I get the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/214i4821B900E20EBE0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;I am on azure, use DBRT 12.2 LTS,  use ADLS as storage, I am happy to provide more details if needed.  My research suggest that the reason is that the dfbs fuse driver does not support random writes (see limitations &lt;A href="https://web.archive.org/web/20210511135249/https://docs.databricks.com/data/databricks-file-system.html" alt="https://web.archive.org/web/20210511135249/https://docs.databricks.com/data/databricks-file-system.html" target="_blank"&gt;here&lt;/A&gt;). And it seems this is needed by the import mechanism behind the scenes in order to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then how does it work for anybody? Is there something I can do to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is the exact difference between using import from files as compared to using the &lt;A href="https://docs.databricks.com/files/workspace-modules.html#migrate-run" alt="https://docs.databricks.com/files/workspace-modules.html#migrate-run" target="_blank"&gt;run command&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 09:07:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4371#M1112</guid>
      <dc:creator>Mumrel</dc:creator>
      <dc:date>2023-05-15T09:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error 95 when importing one Notebook into another</title>
      <link>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4372#M1113</link>
      <description>&lt;P&gt;import works for .py files.&lt;/P&gt;&lt;P&gt;.%run is for notebooks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is lib a .py file or a notebook?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 13:25:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4372#M1113</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-05-15T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error 95 when importing one Notebook into another</title>
      <link>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4373#M1114</link>
      <description>&lt;P&gt;Ok, I think this explains it. I made an error and created the library as a Notebook instead of file. Once I create it as a file, it works, although the contents are exactly the same.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:37:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-95-when-importing-one-notebook-into-another/m-p/4373#M1114</guid>
      <dc:creator>Mumrel</dc:creator>
      <dc:date>2023-05-15T14:37:06Z</dc:date>
    </item>
  </channel>
</rss>

