製品をチェック

無償トライアル:

無償トライアルへ

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

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

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

お問い合わせ

クラウドネイティブRPA Automation 360™ でAzure Data Lake Storage データを連携利用


クラウドネイティブRPA Automation 360™ と Azure Data Lake Storage ODBC Driver を使ってノーコードでAzure Data Lake Storage 連携Bot を作成。


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

azuredatalake ロゴ画像

ODBC Driver

odbc ロゴ画像
Automation360 ロゴ画像


Automation 360™ は Automation Anywhere 社が提供するクラウドネイティブなRPA プラットフォームです。従来のRPA と同様にエージェントはデスクトップにインストールされて動くのですが、ワークフローの作成、エージェントの管理や配布、オーケストレーションをクラウドサービス上で実施できるようになっています。

また、RPA としての基本的な機能のほかに、さまざまなアプリケーションやローカルファイル・サービスなどに接続することが可能なAction が一つの特徴となっています。その中に、データベースにODBC 経由で接続できるAction が含まれており、CData ODBC Driver と組み合わせることで、CData が対応しているさまざまなデータソースとノーコードで連携ができるようになります。

この記事では、Automation 360™ と CData ODBC Driver を使って、Azure Data Lake Storage に連携するBot を作成します。

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. 入力後、接続テストが成功すれば設定は完了です。

Automation 360™ で Bot を作成する

それでは Automation 360™ で Bot を作成していきましょう。

  1. Home 画面にログインし「Create a bot」をクリックします。
  2. 任意のBot 名を入力して、「Create & edit」をクリックします。

Automation 360™ でAzure Data Lake Storage へのDB 接続を構成する

続いて Automation 360™ でODBC への接続構成を行います。

  1. ODBC 接続は主に「Database」のAction を使って構成していきます。
  2. Database 接続では最初に「Connect」Action を使って接続を確立する必要があります。「Connect」Actionをドラッグアンドドロップで配置しましょう。
  3. 「Connect」Action では「Connection mode」を「Default」に変更し、「Connection string」でODBC の接続情報を指定します。これでConnection の構成は完了です。

Azure Data Lake Storage のデータをAutomation 360™ で扱う

Connection の構成が完了したら、実際にデータを読み取るAction を設定しましょう。

  1. ODBC 経由でデータを読み取るために「Read from」Actionを配置します。
  2. 「Read from」Action では「Enter SELECT Statement」に対してSQL を入力して、データを取得することができます。
  3. また、今回は最終的にCSV ファイルとしてデータを吐き出すので「Export data to CSV」のチェックボックスにチェックを入れて、ローカルファイルとして出力されるように構成しました。
  4. 最後に作成した接続情報を破棄するために「Disconnect」を配置しましょう。

作成したBot の動作を確認する

それでは作成したBot を実際に動かしてみましょう。

  1. Bot は画面上にある「Run」で手動実行が可能です。
  2. 開始すると以下のようにDesktop のBot Agent にシナリオが共有され、処理が行われます。
  3. 正常に処理が完了すると、次のようにメッセージが表示されます。
  4. 指定したCSV ファイルを参照してみたところ、正常にAzure Data Lake Storage のデータを元にしたCSV ファイルが生成されていました。