製品をチェック

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

CData Connect Server

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

お問い合わせ

Tableau Cloud でAzure Data Lake Storage ビジュアライゼーションを構築


CData Connect Server を使用してAzure Data Lake Storage の仮想SQL Server データベースを作成し、Tableau Cloud でビジュアライゼーションを構築します。


加藤龍彦
ウェブデベロッパー

azuredatalake ロゴ画像

Connect Server

connect ロゴ画像
Tableau ロゴ画像

Tableau Cloud は、クラウドで完全にホストされている分析プラットフォームです。CData Connect Server と組み合わせることで、ビジュアライズやダッシュボ-ドなどのためにAzure Data Lake Storage データに瞬時にアクセスできるようになります。この記事では、Tableau Cloud でAzure Data Lake Storage の仮想データベースを作成し、Azure Data Lake Storage データからビジュアライゼーションを構築する方法を説明します。

CData Connect Server は、ピュアSQL Server インターフェースをAzure Data Lake Storage に提供することで、コネクタをインストールしたりTableau Desktop からワークシートやデータソースを公開したりすることなく、Tableau Cloud のライブAzure Data Lake Storage データからビジュアライゼーションを簡単に構築できるようにします。ビジュアライゼーションを構築すると、Tableau Cloud はデータを収集するためのSQL クエリを生成します。CData Connect Server は最適化されたデータ処理を使用し、サポートされているすべてのSQL 操作(フィルタ、JOINs など)をAzure Data Lake Storage に直接プッシュし、サーバー側の処理を利用してAzure Data Lake Storage データをすばやく返します。

Azure Data Lake Storage データの仮想SQL Server データベースを作成する

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

  1. Connect Server にログインし、「Databases」をクリックします。 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 Cloud でビジュアライゼーションを構築できます。

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

以下のステップでは、Connect Server の仮想Azure Data Lake Storage データベースに基づいてTableau Cloud で新しいデータソースを作成し、データから簡単なビジュアライゼーションを構築する方法の概要を説明します。

  1. Tableau Cloud にログインし、プロジェクトを選択して新しいワークブックを作成します。
  2. 新しいワークブックで、データウィザードから「Microsoft SQL Server Connector」を選択し、Connect Server インスタンスの値を入力します。

  3. NOTE:「Require SSL」チェックボックスを有効化してください。 Connect to Connect Server from Tableau Cloud
  4. 新しく作成したデータベースと、ビジュアライズするテーブルを選択します。(必要に応じて結合されたテーブルの関係を定義します。)
  5. Choosing a Database and Tables
  6. 「Dimensions and Measures」を選択して、ビジュアライゼーションを構成します。
  7. Visualizing Azure Data Lake Storage data in Tableau Cloud

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

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