JDBC connection reference

Learn about the fields used to create a JDBC connection with ThoughtSpot DataFlow.

Here is a list of the fields for a jdbc connection in ThoughtSpot DataFlow. You need specific information to establish a seamless and secure connection.

Connection properties

Connection name

Name your connection. Mandatory field.

Example:

JDBCConnection

Connection type

Choose the JDBC connection type. Mandatory field.

Example:

JDBC

Driver name

Specify the JDBC driver class for the database connection. Mandatory field.

JDBC URL

Specify the jdbc url for database connection. Mandatory field.

Example:

jdbc:sqlserver://localhost:1234;databaseName=PUBS

JDBC driver jar

Upload the jdbc jar available in local system. Mandatory field.

JDBC options

Specify the options associated with the JDBC URL.

Optional field.

Example:
jdbc:sqlserver://[serverName[\instanceName][:portNumber]]
Other notes:

Advanced configuration.

Key

Define the key parameter. Mandatory field.

Value

Specify the value for key parameter. Mandatory field.

Encrypt

Encrypt the details for secured authentication. Optional field.
Select the check-box to encrypt the details.

Schema object name enclosing character

Specify the schema object name enclosing character. Optional field.

Default:
Other notes:

Advanced configuration

Sync properties

Column delimiter

Specify the column delimiter character. Mandatory field.

Example:

1

Valid Values:

Any printable ASCII character or decimal value for ASCII character

Default:

1

Enclosing character

Specify if the text columns in the source data needs to be enclosed in quotes. Optional field.

Example:

DOUBLE

Valid Values:

SINGLE, DOUBLE

Default:

DOUBLE

Other notes:

This is required if the text data has newline character or delimiter character.

Escape character

Specify this if the text qualifier is mentioned. This should be the character which escapes the text qualifier character in the source data. Optional field.

Example:

\"

Valid Values:

Any ASCII character

Default:

\"

Max ignored rows

Abort the transaction after encountering 'n' ignored rows. Optional field.

Example:

0

Valid Values:

Any numeric value

Default:

0

tsload options

Specifies the parameters passed with the tsload command, in addition to the commands already included by the application. The format for these parameters is:

<param_1_name> = <param_1_value>
Example:
date_time_format = %Y-%m-%d
date_format = %Y-%m-%d;time_format = %H:%M:%S
Valid Values:
null_value = NULL
max_ignored_rows = 0
Default:
max_ignored_rows = 0

Related information


Was this page helpful?