Skip to content

storage_options inconsistency between read_deltalake and to_deltalake  #55

@j-bennet

Description

@j-bennet

In to_deltalake, there's a kwarg called storage_options:

    storage_options : dict[str, str] | None. Default None
        Options passed to the native delta filesystem. Unused if 'filesystem' is defined

In read_deltalake, we also have a kwarg called storage_options:

    storage_options : dict, default None
        Key/value pairs to be passed on to the fsspec backend, if any.

They are not the same options. The same options in read_deltalake are called delta_storage_options:

    delta_storage_options : dict, default None
        Key/value pairs to be passed on to the delta-rs filesystem, if any.

This is confusing. We better align the two APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions