Skip to content

UNC or mapped network drive on Windows? #183

Open
@riziles

Description

@riziles

Is there a way to use either a UNC path or mapped network drive on Windows?

I can query the parquet files in my delta table directly with DuckDB doing this:

select 1
from read_parquet('//myhost.com/path/to/subpath/to/delta_test6/*.parquet')
limit 1

or this:

select 1
from read_parquet('x:/subpath/to/delta_test6/*.parquet')
limit 1

I can do this in Python using delta-rs :

import duckdb
import deltalake

path = "//myhost.com/path/to/subpath/to/delta_test6"

dt = deltalake.DeltaTable(path).to_pyarrow_dataset()

duckdb.sql("select 1 from dt limit 1").show()

But if try this:

select 1
from delta_scan('//myhost.com/path/to/subpath/to/delta_test6')
limit 1

or this:

select 1
from delta_scan('x:/subpath/to/delta_test6')
limit 1

I get the following error:

IO Error:
  DeltKernel ObjectStoreError (8): 
    Error interacting with object store: 
      Generic URL error: 
        Unable to recognise URL "file://myhost.com/path/to/subpath/to/delta_test6/"

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