製品をチェック

製品についての詳細情報や無償トライアルをご案内します:

CData Connect Server

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

お問い合わせ

Azure Data Lake Storage データを(CData Connect 経由の)Tableau Desktop でビジュアライズ


CData Connect(またはConnect Server)でAzure Data Lake Storage データのMySQL データべースを作成し、Tableau Desktop でライブAzure Data Lake Storage データからビジュアライゼーションを構築します。


Tableau は企業がデータを使用して問題を解決する方法を変革するビジュアル分析プラットフォームです。CData Connect (またはConnect Server)と組み合わせることで、Tableau 内のライブAzure Data Lake Storage データに簡単にアクセスできます。この記事では、Azure Data Lake Storage の仮想MySQL データベースを作成し、Tableau でその仮想データベースに接続して、簡単なチャートを作成する方法を説明します。

Azure Data Lake Storage データの仮想MySQL データベース

CData Connect は、シンプルなポイントアンドクリックインターフェースを使用してデータソースに接続し、API を生成します。

  1. Connect にログインし、「CONNECTIONS」をクリックします。 Adding a database
  2. [Available Data Sources]から[Azure Data Lake Storage]を選択します。
  3. Azure Data Lake Storage に接続するために必要な認証プロパティを入力します。

    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.
    Configuring a connection (Salesforce is shown).
  4. Test Database]をクリックします。
  5. [Permission]->[ Add]とクリックし、適切な権限を持つ新しいユーザー(または既存のユーザー) を追加します。

仮想データベースが作成されたら、Tableau Desktop からAzure Data Lake Storage に接続できるようになります。

Tableau Desktop でライブAzure Data Lake Storage データをビジュアライズ

以下のステップでは、CData Connect で仮想Azure Data Lake Storage データベースに接続し、データから簡単なビジュアライゼーションを構築する方法の概要を説明します。

  1. Tableau を開き、[Connect]->[To a Server]と進んだ先の[MySQL]をクリックします。
  2. 接続ウィザードで、CData Connect インスタンスの値を入力し、[Sign In]をクリックします。
    • Server:Connect インスタンスのアドレス
    • Port:Connect インスタンス用のMySQL エンドポイントのポート(デフォルト:8006
    • Database:Azure Data Lake Storage データ用に構成した仮想データベース
    • Username & Password:CData Connect ユーザーの資格情報
    Connect to CData Connect from Tableau Desktop
  3. 新しく作成したデータベースと、ビジュアライズするテーブルを選択します。(必要に応じて結合されたテーブルの関係を定義します。)
  4. Choosing a Database and Tables (a connection to CSV documents is shown)
  5. [Dimensions and Measures]を選択して、ビジュアライゼーションを構成します。
  6. Visualizing Azure Data Lake Storage data in Tableau Desktop

オンプレミスのアプリケーションからAzure Data Lake Storage データへのSQL アクセス

この時点で、Tableau Desktop ワークブックからライブAzure Data Lake Storage への、直接接続が有効になります。新しいビジュアライゼーションの作成やダッシュボードの構築などを行うことができます。Tableau などのデスクトップアプリケーションから、240 以上のSaaS、Big Data、NoSQL ソース(Azure Data Lake Storage を含む)のデータにSQL でアクセスする方法については、CData Connect ページを参照するか、無料トライアルをダウンロードしてください。