Skip to content

Mapped network drives in Windows no longer work #3551

Open
@riziles

Description

@riziles

Environment

Delta-rs version: 1.0.2

Binding: Python

Environment:

  • Cloud provider: Unknown
  • OS: Windows

Bug

What happened: Mapped network drives in Windows no longer work. Error message:

Unable to convert URL "file:///path/to/my/folder/_delta_log/_last_checkpoint" to filesystem path

What you expected to happen: Write delta table

How to reproduce it:

import arro3.core
from deltalake import write_deltalake

arr1 = arro3.core.Array([1, 2, 3], type=arro3.core.DataType.int64())
tbl = arro3.core.Table.from_pydict({"a": arr1})

dpath = "s:/path/to/my/folder"

write_deltalake(
    dpath,
    tbl,
    mode="overwrite",
)

More details: Prior to v1.0, the above example worked fine. After upgrading, it no longer works. I've tried setting the MOUNT_ALLOW_UNSAFE_RENAME to True (and true), but that did not help. I've also tried passing in the path as a URI, but that did not help either. Is this just no longer possible, or is there some configuration parameter that I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions