Sample default odbc.ini file
- Last Updated: August 25, 2023
- 2 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
The following is a sample odbc.ini file that Setup installs in the installation directory. All occurrences of ODBCHOME are replaced with your installation directory path during installation of the file. Values that you must supply are enclosed by angle brackets (< >). If you are using the installed odbc.ini file, you must supply the values and remove the angle brackets before that data source section will operate properly. Commented lines are denoted by the # symbol. This sample shows a 32-bit driver with the driver file name beginning with iv. A 64-bit driver file would be identical except that driver name would begin with dd and the list of data sources would include only the 64-bit drivers.
[ODBC Data Sources]
Spark SQL=DataDirect 8.0 Apache Spark SQL Wire Protocol
[Spark SQL]
Driver=ODBCHOME/lib/ivspark28.so
Description=DataDirect 8.0 Apache Spark SQL Wire Protocol
ArraySize=150000
AuthenticationMethod=0
CookieName=
CryptoLibName=
CryptoProtocolVersion=TLSv1.2, TLSv1.1, TLSv1
Database=<sparksql_database>
DataSourceName=
DefaultLongDataBuffLen=1024
EnableCookieAuthentication=1
EnableDescribeParam=0
EnableFIPS=1
EncryptionMethod=0
GSSClient=native
HostName=<sparksql_host>
HostNameInCertificate=
HTTPPath=cliservice
KeepAlive=0
KeyPassword=
Keystore=
KeystorePassword=
LoginTimeout=30
LogonID=
MaxStringSize=2147483647
MinLongVarcharSize=
PortNumber=10000
PRNGSeedFile=/dev/random
PRNGSeedSource=0
ProxyUser=
RemoveColumnQualifiers=0
ServicePrincipalName=
SSLLibName=
StringDescribeType=9
TransactionMode=0
TransportMode=0
Truststore=
TruststorePassword=
UseCurrentSchema=0
UseNativeCatalogFunctions=1
UserAgent=
ValidateServerCertificate=1
VarcharThreshold=
[ODBC]
IANAAppCodePage=4
InstallDir=ODBCHOME
Trace=0
TraceFile=odbctrace.out
TraceDll=ODBCHOME/lib/ivtrc28.so
ODBCTraceMaxFileSize=102400
ODBCTraceMaxNumFiles=10
[ODBC File DSN]
DefaultDSNDir=
UseCursorLib=0
To modify or create data sources in the odbc.ini file, use the following procedures.
-
To modify a data source:
-
To create a new data source: