forked from duckdb/dbt-duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support delta write + Add unity plugin (#1)
* Start * Add tests for delta write, modify macros * Update delta file * Fix tests * Define delta extra * Add support for installing extensions from custom repositories, modify init db to create secrets prior to attaching catalogs, add UC client to delta plugin to dynamically create schemas/tables if they don't exist * fix secret creation to use the __default_ prefix when no name is specified * fix tests, add date as supported type to convert * run linter and run add unitycatalog to dev reqs * fix tests * fix delta write test * clean up tests * fixed all tests * rollback some accidently edited files * clean up * added unitycatalog as delta-plugin option, rewrite delta plugin * fix credential tests * Add TODOs * add correct type hinting for schema conversion * update type mapping * remove redundant mock * create new unity plugin, separate unity from delta * refactoring * Add tenacity to add retries for executing target config compiled code * Add tenacity to add retries for executing target config compiled code * Overwrite ref macro to support unity table reads * fix ref to fix failing tests * refactor ref macro * wait incrementally, get catalog from profile.yml * remove None check for uc client * add tests for the unity plugin * fix Mock unity catalog server step in pipeline * fix Mock unity catalog server step in pipeline * fix Mock unity catalog server step in pipeline * fix Mock unity catalog server step in pipeline * fix Mock unity catalog server step in pipeline * change access for test-unity.sh * update tox.ini * fix tests * move decorator to utils, make handle more robust for concurrent operations by a retry decorator * make handle more robust for concurrent operations by a retry decorator * remove secrets creation for each cursor init * fix test * remove threads from unity test * clean up tests * add unity catalog load support * clean up * remove catalog from full_table_name * clean up unity plugin * fix the catalog base url to add the http path to the host_and_port * add link to git issue * update doc --------- Co-authored-by: Frank Mbonu <[email protected]>
- Loading branch information
1 parent
8c95984
commit ff9d4c4
Showing
31 changed files
with
1,157 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,3 +80,4 @@ target/ | |
.idea/ | ||
.vscode/ | ||
.env | ||
.venv/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
configured_endpoints: 25 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/eventual%2Funitycatalog-afb7536b3c70b699dd3090dc47209959c1591beae2945ee5fe14e1b53139fe83.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.