Logo
Explore Help
Register Sign In
yujunjun/OpenMetadata
1
0
Fork 0
You've already forked OpenMetadata
mirror of https://github.com/open-metadata/OpenMetadata.git synced 2025-10-30 18:17:53 +00:00
Code Issues Packages Projects Releases Wiki Activity
OpenMetadata/bootstrap/sql/migrations/native/1.10.0/postgres/postDataMigrationSQLScript.sql

13 lines
480 B
MySQL
Raw Normal View History

Fixes #23356: Databricks & UnityCatalog OAuth and Azure AD Auth (#23561) * feat: databricks oauth and azure ad auth setup * refactor: add auth type changes in databricks.md * fix: test after oauth changes * refactor: unity catalog connection to databricks connection code * feat: added oauth and azure ad for unity catalog * fix: unitycatalog tests, doc & required type in connection.json * fix: generated tx files * fix: exporter databricksConnection file * refactor: unitycatalog example file * fix: usage example files * fix: unity catalog sqlalchemy connection * fix: unity catalog client headers * refactor: make common auth.py for dbx and unitycatalog * fix: auth functions import * fix: test unity catalog tags as None * fix: type hinting and sql migration * fix: migration for postgres
2025-10-03 19:53:19 +05:30
-- Migration script to restructure Databricks connection configuration
-- Move 'token' field from connection.config.token to connection.config.authType.token
UPDATE dbservice_entity
SET json = jsonb_set(
json #- '{connection,config,token}',
'{connection,config,authType}',
jsonb_build_object('token', json #> '{connection,config,token}'),
true
)
WHERE serviceType in ('Databricks', 'UnityCatalog')
AND jsonb_exists(json -> 'connection' -> 'config', 'token');
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 972ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API