製品をチェック

無償トライアル:

無償トライアルへ

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

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

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

お問い合わせ

OpenOffice Base でAzure Data Lake Storage データをクエリする方法


OpenOffice Base でAzure Data Lake Storage データをクエリする方法


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

azuredatalake ロゴ画像

ODBC Driver

odbc ロゴ画像
OpenOffice ロゴ画像


OpenOffice Base は 個人利用から商業利用に至るまで幅広い大勢のユーザーニーズに合うように設計された多機能なデスクトップデータベース管理システムです。

この記事では、OpenOffice Base とCData ODBC Driver を使って、Azure Data Lake Storage のデータをクエリする方法を紹介します。

Azure Data Lake Storage データへの接続

  1. まずODBN DSN に必要な接続プロパティの値を入力します。 組み込みのMicrosoft ODBC データソースアドミニストレーターを使用してDSN を構成できます。 これは、ドライバーのインストール時の最後のステップでも可能です。 Microsoft 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.
  2. DSN設定
  3. 入力後、接続テストが成功すれば設定は完了です。

ODBC への接続を追加する

それではOpenOffice Base の作業を進めていきましょう。まずODBC への接続を行ったデータベースを作成します。

  1. OpenOffice Base を立ち上げて「既存のデータベースに接続」から「ODBC」を選択し、「次へ」をクリックします。
  2. システム上のODBC データソースの名前を入力する画面が表示されるので「ブラウズ」をクリックし、
  3. 先ほど作成したODBC DSN の接続設定を選択します。
  4. あとは「完了」をクリックすれば、新しいデータベースファイルが作成されます。

テーブルデータを確認する

データベースファイルが作成されると、テーブル一覧には自動的にAzure Data Lake Storage のオブジェクト一覧が表示されます。

  1. 任意のテーブルをクリックしてみると、
  2. 以下のようにAzure Data Lake Storage のデータが表示されていることが確認できます。
  3. これだけで、OpenOffice Base でAzure Data Lake Storage のデータが扱える状態になったことがわかりますね。

レポートを作成する

レポートも併せて作成してみましょう。

  1. 「レポート」タブに移動して「ウィザードを使用してレポートを作成」をクリックします。
  2. レポートウィザードでは「テーブルまたはクエリー」でAzure Data Lake Storage のオブジェクトを選択できるので、任意のテーブルを選択し、使用したいフィールドを設定していくだけでOK です。
  3. 完了をクリックすると、Azure Data Lake Storage のデータを元にしたレポートが作成できました。