Connection option descriptions
- Last Updated: October 12, 2023
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
The following connection option descriptions are listed alphabetically by the GUI name that appears on the driver Setup dialog box. The connection string attribute name, along with its short name, is listed immediately underneath the GUI name.
In most cases, the GUI name and the attribute name are the same; however, some exceptions exist. If you need to look up an option by its connection string attribute name, please refer to the alphabetical table of connection string attribute names.
The following table lists the connection string attributes supported by the driver.
| Attribute (Short Name) | Default |
|---|---|
| ArraySize (AS) | 150000 |
| AuthenticationMethod (AM) | 0 (User ID/Password) |
| CookieName (CN) | hive.server2.auth |
| CryptoLibName (CLN) | Empty string |
| CryptoProtocolVersion (CPV) | TLSv1.2, TLSv1.1, TLSv1 |
| Database (DB) | default |
| DataSourceName (DSN) | None |
| Description (n/a) | None |
| DefaultLongDataBuffLen (DLDBL) | 1024 |
| EnableCookieAuthentication (ECA) |
1 (Enabled) |
| EnableDescribeParam (EDP) | 0 (Disabled) |
| EnableFIPS (EF) | 0 (Default provider) |
| EncryptionMethod (EM) | 0 (No Encryption) |
| GSSClient (GSSC) | native |
| HostName (HOST) | None |
| HostNameInCertificate (HNIC) | None |
| HTTPPath (HP) | cliservice |
| KeepAlive (KA) | 0 (Disabled) |
| KeyPassword (KP) | None |
| Keystore (KS) | None |
| KeystorePassword (KSP) | None |
| LoginTimeout (LT) | 30 |
| LogonID (UID) | None |
| MaxStringSize (MSS) | 2147483647 |
| MinLongVarcharSize (MINLVS) | None. If no value is specified, the driver will not change the column size reported for SQL_LONGVARCHAR columns. |
| OpenSSLConfigFile (OSSLCNF) |
install_dir\drivers\openssl.cnf (Windows) install_dir/lib/openssl.cnf (UNIX/Linux) |
| OpenSSLProviderPath (OSSLPP) |
install_dir\drivers (Windows) install_dir/lib (UNIX/Linux) |
| Password (PWD) | None |
| PortNumber (PORT) | 10000 |
| PRNGSeedFile (PSF) (UNIX and Linux only) | /dev/random |
| PRNGSeedSource (PSS) (UNIX and Linux only) | 0 (File) |
| ProxyUser (PU) | None |
| RemoveColumnQualifiers (RCQ) | 0 (Disabled) |
| ServicePrincipalName (SPN) | None |
| SSLLibName (SLN) | Empty string |
| StringDescribeType (SDT) | -9 (SQL_WVARCHAR) |
| TransactionMode (TM) | 0 (No Transactions) |
| TransportMode (TRM) |
0 (binary) |
| Truststore (TS) | None |
| TruststorePassword (TSP) | None |
| UseCurrentSchema (UCS) | 0 (Disabled) |
| ValidateServerCertificate (VSC) | 1 (Enabled) |
| VarcharThreshold (VT) | None. If no value is specified, the driver will not change the described type for VARCHAR columns. |