DBArtisan のウィザードを使って、Azure Data Catalog をデータソースとして連携利用。
CData ODBC Driver for Azure Data Catalog は、DBArtisan などのデータベースツールとAzure Data Catalog data を連携し、RDB のような感覚でAzure Data Catalog データを扱えます。 本記事では、DBArtisan 上でAzure Data Catalog データソースを作成する方法とクエリの実行方法を説明します。
DBArtisan Project にAzure Data Catalog Data を連携する
ODBC Driver をインストールして、ODBC DSN 設定を行います。インストール後にDSN 設定画面が開くので、Azure Data Catalog への接続に必要なプロパティを設定します。
You can optionally set the following to read the different catalog data returned from Azure Data Catalog.
- CatalogName: Set this to the CatalogName associated with your Azure Data Catalog. To get your Catalog name, navigate to your Azure Portal home page > Data Catalog > Catalog Name
Connect Using OAuth Authentication
You must use OAuth to authenticate with Azure Data Catalog. OAuth requires the authenticating user to interact with Azure Data Catalog using the browser. For more information, refer to the OAuth section in the help documentation.
次の方法で、プロジェクトにAzure Data Catalog データソースを登録します。
- DBArtisan で「Data Source」->「Register Datasource」と進みます。
- 「Generic ODBC」を選択。
- データソース名を入力して、DSN を選択します。Enter a name for the data source and select the DSN.
- ウィザードを終了してAzure Data Catalog への接続を完了します。Azure Data Catalog のエンティティが Datasource Explorer に表示されているはずです。
これで、他のデータベースと同じようにAzure Data Catalog データを扱うことが可能になります。 サポートされるSQL クエリは、ドライバーのヘルプドキュメントを参照してください。
