Code Assist MCP for Apache Impala

Build 25.0.9540

接続の確立

The CData Code Assist MCP for Apache Impala defines each connection to Apache Impala as a named configuration that an MCP Client (such as Claude Desktop) can use when sending natural language queries.

You create and manage these configurations using the CData Code Assist MCP Configuration Tool. The tool automatically handles formatting, storage, and registration with MCP clients.

Understanding Connection Configurations

Each connection configuration is stored in a .mcp file. This file includes the details needed to initialize the connector when an MCP Client starts a session.

  • On Windows, configuration files are stored in "~/AppData/Roaming/CData/Apache Impala Data Provider/".
  • On macOS, configuration files are stored in "~/Library/Application Support/CData/Apache Impala Data Provider/".

The .mcp file is a text file that contains a list of connection properties and a timestamp. For example:

#Tue May 20 15:48:40 EDT 2025
AuthScheme=Basic
User=myUser
Password=myPassword
Security Token=myToken

The configuration tool handles these settings automatically. Each saved configuration enables an MCP client to launch a dedicated MCP server instance with the correct connector and options. Manual file editing is not required.

Apache Impala への接続

Apache Impala に接続するには、以下を設定します。

  • Server:SQL Server インスタンスの名前またはネットワークアドレス名。
  • Port:Impala Server インスタンスへの接続用のポート。
  • ProtocolVersion:Impala サーバーへの接続時に使用するThrift プロトコルバージョン。
  • Database(オプション):SQL クエリで指定されていない場合に使用するデフォルトのデータベース。これにより、クエリでdatabase.tablename を指定することなくテーブル名を使用できます。
  • Pagesize(オプション):データを選択するときにApache Impala からプルするページあたりの結果数。
  • QueryPassthrough(オプション):クエリをas-is でImpala に渡すかどうかを示します。
  • UseSSL(オプション):TLS/SSL を有効にするには、これを設定します。

    QueryPassthrough がfalse(デフォルト)に設定されている場合、CData ADO.NET Provider for Apache Impala はImpala が必要とする形式に適合するようにクエリを変更しようとします。

Apache Impala への認証

Apache Impala を認証する方法は、以下のようにいくつかあります。

  • NoSasl
  • LDAP
  • Kerberos

NoSasl

NoSasl を使用する場合、認証は行われません。ローカルネットワーク上のテストマシンなどの信頼できる場所からサーバーに接続する場合に使用されます。 デフォルトでは、NoSasl はデフォルトのAuthScheme であるため、追加の接続プロパティを設定する必要はありません。

LDAP

LDAP で認証するには、次の接続プロパティを設定します。

  • AuthSchemeLDAP に設定。
  • User:ログインするユーザーに設定。
  • Password:ユーザーのパスワードに設定。
認証するには、UserPassword、およびAuthScheme を設定します。 LDAP サーバーがUnauthenticated Authentication Mechanism of Simple Bind を有効にする場合、Password は必須ではなくオプションです。

Kerberos

AuthScheme プロパティをKerberos に設定します。Kerberos で認証する方法についての詳細は、Kerberos の使用 を参照してください。

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540