-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unity catalog export implementation (#7167)
* add databricks client for lua * add databricks client * remove redundant comment * register databricks client * open services for lua * linter * Unity export implementation * remove unnecessary imports * PR changes * sort imports * createOrGetSchema * remove redundant code, extract full name creation procedure * fullName -> tableFullName * remove unnecessary assignment * change structure of databricks lua * update unity exporter example * linter * linter * add validation to databricks client * linter * handle error if databricks client couldn't be initialized * PR changes * update unity exporter to use the updated databricks method * update delta exporter * change unity exporter to use table names instead of logical path * fix delta exporter tests * give descriptive regex name. fix error returning format. extract "alreadyExists" function that. some reformatings * change databricks client lua client functions to be a part of the Go client * use table descriptor table name. pass table definition file names instead of table names * validate table name at the correct place. fix delta export test * PR fixes * pass "get_schema_if_exists" to create_or_get_schema * rename function * use new "create schema" name * change OptString -> ToBoolean * delete unused sentinel error * add names to errors * validate commit id * Lua: Insert format to all `lua.Errorf` calls (#7189) * Unity catalog exporter: tests (#7176) * add tests for unity catalog exporter * Beautify comment * remove false test * Revert "remove false test" This reverts commit ad13f3c. * add name to mock table descriptor * update tests to new databricks client * PR fix * fix returning error * Unity Catalog Export: Documentation (#7183) * add unity_exporter.register_tables doc entry * add docs to unity catalog * add catalog permissions config * fix lua docs * add to unity_catalog docs * document unity catalog exporter steps * rephrase Unity Catalog exporter docs * fix `unity_exporter.register_tables` docs * rephrase the unity catalog exporter section in `catalog_exports` * remove unnecessary numbering * add types and fix docs * PR fixes * Note that only AWS S3 is supported with Unity Catalog export * Change the supported exporter section to a table
- Loading branch information
1 parent
2b11876
commit 58a730b
Showing
14 changed files
with
699 additions
and
45 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.