Establishing a Connection
Enabling SSIS in Visual Studio 2022
If you're using Visual Studio 2022, you will need to install the SQL Server Integration Services Projects extension to use SSIS.
- Navigate to Extensions > Manage Extensions.
- In the Manage Extensions window's search box, search for "SQL Server Integration Services Projects 2022" and select the extension in the list.
- Click Download.
- Close Visual Studio and run the downloaded Microsoft.DataTools.IntegrationServices.exe installer. Proceed through the installer with default settings.
- Open Visual Studio. There should now be an "Integration Services Project" project template available.
Adding the Apache Impala Connection Manager
Create a new connection manager as follows:
- Create a Visual Studio project with the "Integration Services Project" template.
- In the project, right-click within the Connection Managers window and select New Connection from the menu.
- In the Description column, select CData Apache Impala Connection Manager and click Add...
- Configure the component as described in the next section.
Alternatively, if you have an existing project and CData Apache Impala Source or CData Apache Impala Destination:
- Right-click your CData Apache Impala source or destination component in your data flow
- Select Edit... to open an editor window.
- Click the New... button next to the Connection manager: dropdown selector to create a connection manager.
- Configure the component as described in the next section.
Connecting to Apache Impala
In order to connect to Apache Impala, set the following:
- Server: The name or network address of the SQL Server instance.
- Port: The port for the connection to the Impala Server instance.
- ProtocolVersion: The Thrift protocol version to use when connecting to the Impala server.
- Database (optional): A default database to use when one is not supplied in the SQL query. This enables using table names without having to specify database.tablename in the query.
- Pagesize (optional): The number of results to pull per page from Apache Impala when selecting data.
- QueryPassthrough (optional): Indicates if the query should be passed to Impala as-is.
- UseSSL (optional): Set this to enable TLS/SSL.
When QueryPassthrough is set to false (default), the CData ADO.NET Provider for Apache Impala will attempt to modify the query to conform to Impala required format.
Authenticating to Apache Impala
There are several ways to authenticate to Apache Impala including:
- NoSasl
- LDAP
- Kerberos
NoSasl
When using NoSasl, no authentication is performed. It is used when you are connecting to a server from a trusted location such as a test machine on your local network. By default, NoSasl is as the default AuthScheme, so no additional connection properties need to be set.
LDAP
To authenticate with LDAP, set the following connection properties:
- AuthScheme: Set this to LDAP.
- User: Set this to user to login as.
- Password: Set this to the password of the user.
Kerberos
Set the AuthScheme property to Kerberos. Please see Using Kerberos for details about how to authenticate with Kerberos.