製品をチェック

無償トライアル:

無償トライアルへ

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

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 インターフェースで連携。

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

お問い合わせ

Azure Data Lake Storage データをBoard に連携してビジュアライズを作成


Azure Data Lake Storage をBI ツールのBoard にデータ接続して、データソースとする方法。


azuredatalake ロゴ画像
odbc ロゴ画像

ODBC

board ロゴ画像

CData ODBC Driver for ADLS は、ODBC 標準に準拠しており、BI ツールからIDE まで幅広いアプリケーションでAzure Data Lake Storage への接続を提供します。 この記事では、CPM/BIツールのBoardからAzure Data Lake Storage に接続、レポートを作成する方法を説明します。

事前準備

事前にCData ODBC Driver for ADLS をインストールします。

  1. インストール後、ODBCデータソースアドミニストレーターにて[システムDSN]タブをクリックし、CData Azure Data Lake Storage Source Sys(64bit or 32bit)の接続情報を構成します。(※BoardはシステムDSNのみに対応しています。ユーザーDSNの場合接続できませんので、ご注意ください。)
  2. 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.
  3. Board

Board DB の作成

最初にBoardの接続情報やキューブ等を格納するDBを作成します。

  1. Boardを立ち上げて、任意の接続先へ接続します。
  2. Board
  3. [Database]タブから[New DB]をクリックします。
  4. Board
  5. 開いたDB作成用ウィンドウにて、任意の[Database name][Language][From Year][To Year]を入力し[OK]をクリックします。
  6. Board

SQL FastTrackを用いたODBCデータソースからのデータロード

次にSQL FastTrackの機能を用いてODBCデータソースから Azure Data Lake Storage のデータをBoard上にロードします。

  1. [Database]タブの[SQL FastTrack]をクリックし、Data souceの[New]ボタンをクリックします。
  2. Board
  3. 接続先を設定するためのウィンドウが表示されますので、[OLE-DB Wizard]をクリックします。
  4. Board
  5. 開いたデータリンクプロパティの[プロバイダー]タブから[Microsoft OLE DB Provider for ODBC Drivers]を選択し、[次へ]をクリックします。
  6. Board
  7. [接続タブ]の[1.データソースを指定します]から事前に設定したODBC DSNを選択し、[3.使用する初期カタログを入力します]に[CData]を入力の上、[OK]をクリックします。
  8. Board
  9. 任意の[Name]を入力し[Save & Connect]をクリックします。
  10. Board
  11. SQL FastTrackの画面に戻った後、[Connect]をクリックします。
  12. Board
  13. Connectをクリック後、Data souce画面左側に Azure Data Lake Storage のテーブル一覧が表示されます。分析対象とするテーブルをダブルクリックすると、自動的にSQL クエリが記述されます。記述内容を確認の上、[Execute Query]をクリックします。
  14. Board
  15. Execute Queryをクリックすると、テーブルに格納された項目一覧が以下の図のように表示されます。分析で使用したい任意の項目を[Code][Desc][Cube]のいずれかにチェックを入れ、Cube/Entityを入力し、Track実行ボタンをクリックします。
  16. Board
  17. 確認ダイアログが表示されますので、[Yes]をクリックします。
  18. Board
  19. SQL FastTrackの機能により、ODBC データソースからデータがロードされ、自動的にEntityとCubeが生成されます。
  20. Board
  21. 以下のダイアログが表示されれば、Boardへのデータロードは完了です。
  22. Board

グラフの作成

ロードしたデータを元に簡単なグラフの作成方法を紹介します。

  1. 最初に各種Screenを格納するためのCapsuleを作成します。[Home]タブを選択し[Capsule]から[New Capsule]をクリックします。
  2. raccoon
  3. 任意の[Capsule Name]を入力し[OK]をクリックします。
  4. raccoon
  5. 続いてScreenを作成するための画面が表示されるため任意の[Screen Name]を入力し[OK]をクリックします。
  6. raccoon
  7. Screenが作成されると、ChartやDataViewを配置することが可能になります。[Charts]から[Chart]を選択し、Screenにドラッグ・アンド・ドロップでChartを配置します。
  8. raccoon
  9. 以下のようにChartを配置後、右クリックメニューで[Layout]をクリックします。
  10. raccoon
  11. LayoutでChart上のValueとして扱う値を指定します。[Data]タブから[Double-click here to create a block]の箇所をダブルクリックします。
  12. raccoon
  13. [Data Selection]から先程のSQL FastTrackにてCubeの指定をした任意の値を選択し[OK]をクリックします。
  14. raccoon
  15. 続いて[Axes]タブをクリックし、先程指定した値の分析軸とするBy Rowに任意の項目を選択し[OK]をクリックします。
  16. raccoon
  17. 設定完了後、以下のようにグラフが表示されます。
  18. raccoon

このようにADLS 内のデータをAPI を書くことなくBoard上で利用することができるようになります。