<?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: Issue importing library deltalake in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-importing-library-deltalake/m-p/56889#M30680</link>
    <description>&lt;P&gt;Are you trying to import this library to a Databricks notebook? are you using open source spark in your local machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 19:49:16 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2024-01-10T19:49:16Z</dc:date>
    <item>
      <title>Issue importing library deltalake</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-importing-library-deltalake/m-p/54837#M30171</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently seeing a rather cryptic error message whenever I try to import the &lt;A href="https://delta-io.github.io/delta-rs/" target="_self"&gt;deltalake&lt;/A&gt; library into Databricks (without actually doing anything else).&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import datalake&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcabrera_0-1701937296901.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5525iBDFC404A84BEC7BF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Gcabrera_0-1701937296901.png" alt="Gcabrera_0-1701937296901.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;"ImportError: /local_disk0/.ephemeral_nfs/envs/pythonEnv-cbe496f6-d064-40ae-87c0-ab3d3c23ccb3/lib/python3.9/site-packages/deltalake/_internal.abi3.so: cannot allocate memory in static TLS block"&lt;/P&gt;&lt;P&gt;However the library seems to work just fine locally or within an SH cell.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcabrera_1-1701937506250.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5526i23B83BA11CC8E393/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Gcabrera_1-1701937506250.png" alt="Gcabrera_1-1701937506250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcabrera_2-1701937513959.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5527iB95ED37DFCFEDBCD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Gcabrera_2-1701937513959.png" alt="Gcabrera_2-1701937513959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried quite a few things but nothing really seems to work:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Installing various versions of the library (and its dependencies).&lt;/LI&gt;&lt;LI&gt;Installing the library via %pip %sh !pip or the cluster/job tab.&lt;/LI&gt;&lt;LI&gt;Setting a system variable in an SH cell:&amp;nbsp;&lt;STRONG&gt;export LD_PRELOAD&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Restarting python interpreter.&lt;/LI&gt;&lt;LI&gt;Increasing cluster memory.&lt;/LI&gt;&lt;LI&gt;Only importing a single class from the library.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight you may have would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 08:31:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-importing-library-deltalake/m-p/54837#M30171</guid>
      <dc:creator>Gcabrera</dc:creator>
      <dc:date>2023-12-07T08:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue importing library deltalake</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-importing-library-deltalake/m-p/56889#M30680</link>
      <description>&lt;P&gt;Are you trying to import this library to a Databricks notebook? are you using open source spark in your local machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 19:49:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-importing-library-deltalake/m-p/56889#M30680</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2024-01-10T19:49:16Z</dc:date>
    </item>
  </channel>
</rss>

