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

Azure support? #7

Open
bradlindblad opened this issue Jun 22, 2024 · 4 comments
Open

Azure support? #7

bradlindblad opened this issue Jun 22, 2024 · 4 comments

Comments

@bradlindblad
Copy link

Will there be support for databricks in azure at some point?

@gdubya
Copy link

gdubya commented Aug 13, 2024

Azure is (possibly) nearly already supported. I tested using the following script:

INSTALL uc_catalog from core_nightly;
INSTALL delta from core;
LOAD delta;
LOAD uc_catalog;
CREATE SECRET (
	TYPE UC,
	TOKEN '${mytoken}',
	ENDPOINT '${my_db_workspace}'
);

CREATE SECRET (
    TYPE AZURE,
    PROVIDER CREDENTIAL_CHAIN,
    CHAIN 'cli',
    ACCOUNT_NAME 'mystorageaccount'
);

ATTACH 'my_catalog' AS my_catalog (TYPE UC_CATALOG);
SHOW ALL TABLES;

select * from my_catalog.my_schema.test_table1;

but encountered duckdb/duckdb_delta#71 when I select from a table.

@gdubya
Copy link

gdubya commented Sep 15, 2024

This works now. The submodules just need to be bumped to v1.1.0 (CC @samansmink)

@glalanne
Copy link

Trying the extension with Azure Databricks using duckdb version v1.1.1 af39bd0dcf.

I can execute the SQL script from above with no errors, but the SHOW ALL TABLES returns 0 rows.
Any suggestion to troubleshoot this to see where is the issue?

Using the Databricks CLI returns my tables.
Thanks

@gdubya
Copy link

gdubya commented Sep 26, 2024

@glalanne In a few tests i had to repeat the SHOW ALL TABLES command to get the result. I haven't looked into the cause yet, but perhaps #8 is related?

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

3 participants