Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DBFS? #987

Closed
wjones127 opened this issue Dec 2, 2022 · 2 comments
Closed

Support DBFS? #987

wjones127 opened this issue Dec 2, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@wjones127
Copy link
Collaborator

wjones127 commented Dec 2, 2022

Description

Currently, it looks like we error with:

/local_disk0/.ephemeral_nfs/envs/pythonEnv-ff27c9d1-006a-4c3f-9028-6a49bdc901e2/lib/python3.9/site-packages/deltalake/writer.py in write_deltalake(table_or_uri, data, schema, partition_by, filesystem, mode, file_options, max_open_files, max_rows_per_file, min_rows_per_group, max_rows_per_group, name, description, configuration, overwrite_schema, storage_options)
    267 
    268     if table is None:
--> 269         _write_new_deltalake(
    270             table_uri,
    271             schema,

PyDeltaTableError: Failed to read delta log object: Generic DeltaLocalObjectStore error: Function not implemented (os error 38)

I suspect this is because DBFS does not support replace_if_not_exist. So I think we’d only be able to support it if we added an option to use non-atomic commits (you would lose support for concurrent writers).

The alternative is we tell people to connect to object stores directly. We should provide clear instructions on that.

Use Case

Related Issue(s)

@wjones127 wjones127 added the enhancement New feature or request label Dec 2, 2022
@christophergrant
Copy link

The use case for this would be to write to Delta Lake tables on DBFS when a Spark Context is not available. This is rare, but it does happen.

@rtyler
Copy link
Member

rtyler commented Sep 15, 2023

There's a more recent duplicate #1376 which I am going to close this in favor of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants