製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Azure Data Lake Storage ODBC Driver

Azure Data Lake Storage ODBC Driver を使って、ODBC 接続をサポートするあらゆるアプリケーション・ツールからAzure Data Lake Storage にデータ連携。

Azure Data Lake Storage にデータベースと同感覚でアクセスして、Azure Data Lake Storage データに使い慣れたODBC インターフェースで連携。

データ連携でお困りですか?

お問い合わせ

SAS JMP でのCData ODBC Driver for ADLS の使用


CData ODBC Driver を使用して、Azure Data Lake Storage をSAS JMP で使用可能な統計分析ツールに統合できます。この記事では、Graph Builder とQuery Builder でAzure Data Lake Storage を表示する方法について説明します。


古川えりか
コンテンツスペシャリスト

また、CData ODBC Driver for ADLS を使用して、ライブデータをSAS JMP との統計分析に統合できます。ドライバーは、クエリを直接Azure Data Lake Storage API にプロキシし、分析がデータへの変更を反映していることを確認します。CData ODBC Driver は、レポートをデザインする際バックグラウンドでJMP によって使用される、標準SQL をサポートします。

この記事では、Azure Data Lake Storage をレポートにアクセスし、データのビジュアライゼーションを作成する方法を説明します。また、SQL を使用してJMP Query Builder からAzure Data Lake Storage データをクエリする方法も説明します。

ODBC Data Source としてAzure Data Lake Storage データにアクセス

未指定の場合は、初めにODBC DSN(data source name)で接続プロパティを指定します。ドライバーのインストールの最後にアドミニストレーターが開きます。Microsoft ODBC Data Source Administrator を使用して、ODBC DSN を作成および構成できます。

Authenticating to a Gen 1 DataLakeStore Account

Gen 1 uses OAuth 2.0 in Azure AD for authentication.

For this, an Active Directory web application is required. You can create one as follows:

  1. Sign in to your Azure Account through the .
  2. Select "Azure Active Directory".
  3. Select "App registrations".
  4. Select "New application registration".
  5. Provide a name and URL for the application. Select Web app for the type of application you want to create.
  6. Select "Required permissions" and change the required permissions for this app. At a minimum, "Azure Data Lake" and "Windows Azure Service Management API" are required.
  7. Select "Key" and generate a new key. Add a description, a duration, and take note of the generated key. You won't be able to see it again.

To authenticate against a Gen 1 DataLakeStore account, the following properties are required:

  • Schema: Set this to ADLSGen1.
  • Account: Set this to the name of the account.
  • OAuthClientId: Set this to the application Id of the app you created.
  • OAuthClientSecret: Set this to the key generated for the app you created.
  • TenantId: Set this to the tenant Id. See the property for more information on how to acquire this.
  • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.

Authenticating to a Gen 2 DataLakeStore Account

To authenticate against a Gen 2 DataLakeStore account, the following properties are required:

  • Schema: Set this to ADLSGen2.
  • Account: Set this to the name of the account.
  • FileSystem: Set this to the file system which will be used for this account.
  • AccessKey: Set this to the access key which will be used to authenticate the calls to the API. See the property for more information on how to acquire this.
  • Directory: Set this to the path which will be used to store the replicated file. If not specified, the root directory will be used.

DSN を構成する際に、Max Rows プロパティを定めることも可能です。これによって返される行数を制限するため、ビジュアライゼーション・レポートのデザイン時のパフォーマンスを向上させるのに役立ちます。

Query Builder でAzure Data Lake Storage データをインポート

Azure Data Lake Storage DSN を作成したら、SQL を使用してAzure Data Lake Storage API の機能を呼び出すことができます。以下のステップに従ってQuery Builder でサポートされているクエリを実行します。

  1. SAS JMP で[File]->[Database]->[Query Builder]とクリックします。[Select Database Connection]ダイアログが表示されます。
  2. [New Connection]をクリックします。
  3. [Machine Data Source]タブで[DSN]を選択します。次のステップでは、[Select Tables for Query]ダイアログが表示されます。
  4. [Available Tables]セクションでテーブルを選択し、[Primary]をクリックします。
  5. [Available Columns]を[Included Columns]タブにドラッグすると、基になるSQL クエリが更新されます。 The generated query in the Query Builder.(Salesforce is shown.)
  6. データを表示するには[Run Query]をクリックします。 The results of a query in the Query Builder.(Salesforce is shown.)
  7. 結果を現在のデータで更新するには、[Update from Database]を右クリックし、[Run Script]をクリックします。

Azure Data Lake Storage データをビジュアライズ

インポート後、Graph Builder を使用して視覚的にグラフを作成できます。Graph Builder を開くには、ツールバーの[Graph Builder]ボタンをクリックします。

  1. ディメンションカラムをx 軸にドラッグします。例:FullPath
  2. メジャーカラムをy 軸にドラッグします。例:Permission
  3. チャートタイプを選択します。例:棒グラフ Configuration of a basic chart.(Salesforce is shown.)