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

Cannot read using abfss from fabric lakehouse, Error while getting a connection handle. Error Code: 12005: The URL is invalid #58

Open
ahjulstad opened this issue May 3, 2024 · 2 comments

Comments

@ahjulstad
Copy link

ahjulstad commented May 3, 2024

I have a parquet file in a fabric lakehouse that I would like to map in duckdb. It works well using the dfs URL
az://onelake.dfs.fabric.microsoft.com/xxx/xxxx/Files/xxxx.parquet (just copy pasting from fabric and replacing https with az

but not with the abfss URL:
abfss://[email protected]/xxxx/Files/xxxx.parquet

I authenticate using azure cli.

D create or replace view actualcosts as select * FROM 'abfss://[email protected]/xxxx/Files/xxxx.parquet';

IO Error: AzureBlobStorageFileSystem could not open file: 'xxxx Files/xxxx.parquet', unknown error occurred, this could mean the credentials used were wrong. Original error message: 'Error while getting a connection handle. Error Code: 12005: The URL is invalid

@gdubya
Copy link

gdubya commented Aug 15, 2024

I might be mistaken, but it looks to me like azure_parsed_url.cpp and azure_dfs_filesystem.cpp do not properly handle the abfs(s)://[email protected]/path syntax (as documented in https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri).

@gdubya
Copy link

gdubya commented Aug 15, 2024

Related? duckdb/duckdb_delta#71

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

No branches or pull requests

2 participants