<?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: how to connect to fabric lakhouse using duckdb from databricks premium workspace? in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3936643#M2088</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/567430"&gt;@sleepeatazure&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Please refer to the documentation where you might get some insights on&amp;nbsp;&lt;SPAN&gt;how to connect to fabric lakhouse using duckdb.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Document :&amp;nbsp;&lt;A href="https://medium.com/@mariusz_kujawski/exploring-python-libraries-for-data-engineering-in-ms-fabric-pandas-polars-duckdb-and-pyspark-8a7df3326193" target="_blank"&gt;Exploring Python Libraries for Data Engineering in MS Fabric: Pandas, Polars, DuckDB, and PySpark | by Mariusz Kujawski | May, 2024 | Medium&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 16:37:56 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2024-05-21T16:37:56Z</dc:date>
    <item>
      <title>how to connect to fabric lakhouse using duckdb from databricks premium workspace?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3934857#M2081</link>
      <description>&lt;P&gt;&lt;SPAN&gt;how can I access data from fabric datalake from databricks using duckdb? I am using databricks premium workspace and can read and wite using spark. But when trying to connect through duck db I am getting the below error (I am not using any SPN or access key for duckdb client):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;IOException: IO Error: AzureBlobStorageFileSystem could not open file: 'abfss://demo@onelake.dfs.fabric.microsoft.com/Lakehouse.Lakehouse/Files/20180402040501.CSV', unknown error occurred, this could mean the credentials used were wrong. Original error message: 'Fail to get a new connection for: https://demo@onelake.blob.fabric.microsoft.com. Problem with the SSL CA cert (path? access rights?)' &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 09:12:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3934857#M2081</guid>
      <dc:creator>sleepeatazure</dc:creator>
      <dc:date>2024-05-21T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to connect to fabric lakhouse using duckdb from databricks premium workspace?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3936643#M2088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/567430"&gt;@sleepeatazure&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Please refer to the documentation where you might get some insights on&amp;nbsp;&lt;SPAN&gt;how to connect to fabric lakhouse using duckdb.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Document :&amp;nbsp;&lt;A href="https://medium.com/@mariusz_kujawski/exploring-python-libraries-for-data-engineering-in-ms-fabric-pandas-polars-duckdb-and-pyspark-8a7df3326193" target="_blank"&gt;Exploring Python Libraries for Data Engineering in MS Fabric: Pandas, Polars, DuckDB, and PySpark | by Mariusz Kujawski | May, 2024 | Medium&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 16:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3936643#M2088</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-21T16:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to connect to fabric lakhouse using duckdb from databricks premium workspace?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3944613#M2167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/567430"&gt;@sleepeatazure&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&amp;nbsp;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 16:57:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3944613#M2167</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-23T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to connect to fabric lakhouse using duckdb from databricks premium workspace?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3950882#M2222</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/567430"&gt;@sleepeatazure&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others .&lt;BR /&gt;If you have any question relating to the current thread, please do let us know and we will try out best to help you.&lt;BR /&gt;In case if you have any other question on a different issue, we request you to open a new thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 06:21:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/3950882#M2222</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-27T06:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to connect to fabric lakhouse using duckdb from databricks premium workspace?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/4720966#M9925</link>
      <description>&lt;P&gt;I have same issue with sleepeatazure, my code is like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import duckdb

# Initialize DuckDB connection
conn = duckdb.connect()
print("Connect success")
conn.execute("SET TimeZone = 'UTC'")
print("Execute timezone ke UTC success")
conn.sql("LOAD '/home/path/azure.duckdb_extension';")
print("Load azure.duckdb_extention success")
conn.sql("""
CREATE SECRET secret4 (
TYPE AZURE,
PROVIDER CREDENTIAL_CHAIN,
CHAIN 'cli;env',
ACCOUNT_NAME 'onelake'
);
""")
print("create secret credential success")
conn.sql("LOAD '/home/path/delta.duckdb_extension';")
print("Load delta.duckdb_extension success")

print("create query")
# Query SELECT dari parquet di abfss
query = """
SELECT * FROM delta_scan('abfss://demo@onelake.dfs.fabric.microsoft.com/lakehouse/Tables/mapping_object');
"""
print("create query success") # I also used not only delta_scan, but 'read_parquet'

print("proses query start")
# run query dan save result to pandas dataframe
df = conn.execute(query).fetchdf()
print("proses query success")

print(df.head())&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;unknown error occurred, this could mean the credentials used were wrong. Original error message: 'Fail to get a new connection for: https://onelake.blob.fabric.microsoft.com. Problem with the SSL CA cert (path? access rights?)'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extra:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Package Version: - Python 3.7.16&lt;BR /&gt;----------------- -----------&lt;BR /&gt;certifi 2022.12.7&lt;BR /&gt;deltalake 0.13.0&lt;BR /&gt;duckdb 1.1.3&lt;BR /&gt;joblib 1.3.2&lt;BR /&gt;numpy 1.21.6&lt;BR /&gt;pandas 1.3.5&lt;BR /&gt;pickleshare 0.7.5&lt;BR /&gt;pip 22.3.1&lt;BR /&gt;pyarrow 12.0.1&lt;BR /&gt;python-dateutil 2.9.0.post0&lt;BR /&gt;pytz 2025.2&lt;BR /&gt;scikit-learn 0.22&lt;BR /&gt;scipy 1.7.3&lt;BR /&gt;setuptools 65.6.3&lt;BR /&gt;six 1.17.0&lt;BR /&gt;typing_extensions 4.7.1&lt;BR /&gt;wheel 0.38.4&lt;/P&gt;&lt;P&gt;- (It’s better not to change the version, because it is compatible with the modeling in my previous infrastructure)&lt;/P&gt;&lt;P&gt;- And I have 2 different file, azure.duckdb_extension and delta.duckdb_extension to enable support for Azure authentication and reading Delta tables, sometimes you need to install additional packages manually if they are not included during the pip install duckdb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read the Medium article you shared, but I couldn’t find any information related to DuckDB accessing ABFSS/blob storage.&lt;BR /&gt;Could you please let us know if you have any information or guidance regarding this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:33:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-connect-to-fabric-lakhouse-using-duckdb-from-databricks/m-p/4720966#M9925</guid>
      <dc:creator>Faisalsyad</dc:creator>
      <dc:date>2025-06-05T07:33:23Z</dc:date>
    </item>
  </channel>
</rss>

