ferruzzi commented on code in PR #74301:
URL: https://github.com/apache/airflow/pull/74301#discussion_r4189317853


##########
providers/duckdb/docs/connections/duckdb.rst:
##########
@@ -96,6 +96,26 @@ Extra (JSON)
     ``autoinstall_extensions=True`` if downloading on demand is acceptable. 
Loading an extension that
     is already present needs neither setting.
 
+.. warning:: **Installing an extension needs a home directory**
+
+    DuckDB installs extensions under the operating system user's home 
directory, in
+    ``~/.duckdb/extensions/<duckdb_version>/<platform>/``, so installing one 
requires the
+    environment to provide a home directory that exists and is writable. When 
``HOME`` is unset,
+    empty, or points at a directory that does not exist, the install fails with
+    ``IO Error: Can't find the home directory``.
+
+    Providing a writable home directory is part of configuring the 
environment, and is the
+    deployment administrator's responsibility. This provider does not invent 
one, because a
+    directory it picked would be discarded when the task exits and would 
re-download every

Review Comment:
   ~~Is it not?  I thought that was an inherent feature of serverless infra?~~
   
   Edit - Got my files mixed up, thought this comment was in the lambda 
executor doc



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to