Data Source Configuration through a GUI (Impala)
- Last Updated: October 17, 2023
- 5 minute read
- DataDirect Connectors
- ODBC
- Cloudera Impala 7.1
- dBase 7.1
- Flat files/Text 7.1
- MySQL 7.1
- Pervasive (Btrieve) 7.1
- XML 7.1
- Documentation
When the driver is first installed, the values of its connection options are set by default. These values appear on the driver Setup dialog box tabs when you create a new data source. You can change these default values by modifying the data source. In the following procedure, the description of each tab is followed by a table that lists the connection options for that tab and their initial default values. This table links you to a complete description of the options and their connection string attribute equivalents. The connection string attributes are used to override the default values of the data source if you want to change these values at connection time.
To configure a data source for Impala:
-
Start the ODBC Administrator:
- On Windows, start the ODBC Administrator by selecting its icon from the Datadirect Connect program group.
-
Select a tab:
-
User DSN: If you are configuring an existing user data source, select the data
source name and click Configure to display the driver Setup dialog box.
If you are configuring a new user data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
-
System DSN: If you are configuring an existing system data source, select the
data source name and click Configure to display the driver Setup
dialog box.
If you are configuring a new system data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
-
File DSN: If you are configuring an existing file data source, select the data
source file and click Configure to display the driver Setup dialog box.
If you are configuring a new file data source, click Add to display a list of installed drivers; then, select a driver. Click Advanced if you want to specify attributes; otherwise, click Next to proceed. Specify a name for the data source and click Next. Verify the data source information; then, click Finish to display the driver Setup dialog box.
The General tab of the Setup dialog box appears by default.
Figure 1. General tab 
Note: The General tab displays only fields that are required for creating a data source. The fields on all other tabs are optional, unless noted otherwise. -
User DSN: If you are configuring an existing user data source, select the data
source name and click Configure to display the driver Setup dialog box.
-
On this tab, provide values for the options in the following table; then, click
Apply. The table provides links to descriptions of the
connection options.
Connection Options: General Default Data Source Name None Description None Host Name None Port Number None Database default -
Optionally, click the Advanced
tab to specify additional data source settings.
Figure 2. Advanced tab 
On this tab, provide values for any of the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
Connection Options: Advanced Default Enable SQLDescribeParam Disabled Use Current Schema for Catalog Functions Disabled Remove Column Qualifiers Disabled TCP Keep Alive Disabled
Array Size 50000 Login Timeout 30 Max Varchar Size 2147483647 String Describe Type -9 - SQL_WVARCHAR Transaction Mode 0 - No Transactions Default Order By Limit -1 (Disabled) Batch Mechanism 2 - MultiRowInsert Default Buffer Size for Long/LOB Columns (in Kb) 1024 Extended Options: Type a semi-colon separated list of connection options and their values. Use this configuration option to set the value of undocumented connection options that are provided by Progress DataDirect customer support. You can include any valid connection option in the Extended Options string, for example:
Database=Server1;UndocumentedOption1=value[;UndocumentedOption2=value;]If the Extended Options string contains option values that are also set in the setup dialog or data source, the values of the options specified in the Extended Options string take precedence. However, connection options that are specified on a connection string override any option value specified in the Extended Options string.
Note: Do not specify the Extended Options configuration option in a connection string, or the driver will return an error. Instead, applications should specify the individual undocumented connection options in the connection string. -
Optionally, click the Security tab to specify security
settings.
Figure 3. Security tab 
On this tab, provide values for any of the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
Connection Options:Security Default Authentication Method 0 - User ID/Password User Name None Proxy User None Service Principal Name None GSS Client Library native Encryption Method 0 - No Encryption Crypto Protocol Version TLSv1.2,TLSv1.1,TLSv1,SSLv3 Validate Server Certificate 1 - Enabled Enable FIPS Disabled Truststore None Trust Store Password None Key Store None Keystore Password None Key Password None Host Name In Certificate None -
At any point during the configuration process, you can click Test Connect to
attempt to connect to the data source using the connection options specified in the driver
Setup dialog box. A logon dialog box appears (see Using a Logon Dialog Box (Impala)) for details). Note that the information you enter in the logon dialog
box during a test connect is not saved.
- If the driver can connect, it releases the connection and displays a
Connection Establishedmessage. Click OK. - If the driver cannot connect because of an incorrect environment or connection
value, it displays an appropriate error message. Click OK.Note: If you are configuring alternate servers for use with the connection failover feature, be aware that the Test Connect button tests only the primary server, not the alternate servers.
- If the driver can connect, it releases the connection and displays a
- Click OK or Cancel. If you click OK, the values you have specified become the defaults when you connect to the data source. You can change these defaults by using this procedure to reconfigure your data source. You can override these defaults by connecting to the data source using a connection string with alternate values.