To work with Thoughtspot Data Point, follow below steps:
Step I: Create a New Data Point
- To open and edit an existing data point, refer Opening Data Point.
- To create a new data point, refer Create New Data Point.
Step II: Provide connection details
1. To connect to Thoughtspot database following details need to be provided in the Properties tab.
- Host: Specify the hostname or the IP address of the Thoughtspot system
- Port: Specify the port associated to the Thoughtspot system
- App User: Specify the user id that will be used to connect to the Thoughtspot system. This user should have necessary privileges to access the data in the databases.
- Password: Specify the password for the App User. To use the project parameter for the password, check the Use Project Parameters option, and you can view and select the required Project Parameter from the Password drop-down.
- Jdbc Options: Specify the options that should be used along with JDBC URL to connect to Thoughtspot.
For example, following details are provided in JDBC Options to connect to Thoughtspot: user=diyotta, password=****, db=TEST_DB.
- Database Version: Specify the Thoughtspot version being connected to
Mandatory field names are suffixed with *. To establish the connection, provide all the mandatory property field values.
2. Assign Agent: To assign or change the associated agent click Change. The Change Agent window appears and displays the list of available Agents. From the list, select the required Agent Name.
- If Default agent is assigned to the Project then automatically, the Default agent will be associated with the new Data point created.
- If Default agent is not assigned to the Project then, no agent will be assigned automatically and appropriate agent needs to be assigned to the data point.
- When connecting to the Agent server then, the agent installation user should have appropriate privilege to access the path where file will be placed.
- When connecting to the remote server then, the firewall needs to be opened from the Agent server to it and user specified to connect should have appropriate privilege to access the path where file will be placed
Step III: Test the data point connection
- To validate that the data point is able to connect to the Thoughtspot data point database using the details provided, refer Test Data Point Connection.
Step IV: Enter the database details
Manage the databases required to be accessed through the Databases tab. Multiple databases can be added here.
1. To add a new database, click Add(+).
New entry for database is generated and success message is displayed at the bottom right corner of the screen.
- The "Name" field is a friendly name that can be assigned to the database for easy identification. This friendly name is displayed when a database needs to be chosen from the data point and when the database association with other components is displayed.
- Provide the physical name of the database in the "Database" field. When clicked on the entry in the "Database" field a drop-down appears with the list of databases in the system. As you enter the database keyword, the drop-down shows the specific database. The database name can either be selected from this drop-down list or you can manually enter.
- Manually provide the physical name of the schema in the "Schema" field.
- To view the database drop-down, it is a prerequisite to test the connection. For more information, refer Test Data Point Connection.
- To search for a specific database, enter the keyword in the search bar, and the page displays the related databases.
- Following operations are allowed on the database entries: Add, Cut, Copy, Paste, Up, Down, Delete, and Search.
- From the list of databases, multiple databases can be selected and we can perform/apply these operations.
Step V: Save the data point
- To save the changes made to the data point, refer Saving a Data Point.
- If the changes made to the data point need to be reverted and not saved then, refer Reverting changes in Data Point.
- Once the data point has been created and the changes have been saved then, Close or Unlock the data point so that it is editable by other users. For more information, refer Closing Data Point and Unlocking Data Point.
Step VI: Modify the configured Extract and Load properties
When moving data from one system to another the data is extracted from the source system, moved over the network and loaded into the target system. The SQLs and commands generated during execution of the jobs to extract and load data are generated based on the properties defined for these. The properties associated with the extraction and load of data should depend on the format, performance and variety of the data being moved. These properties vary based on the environment and the type of the system. Diyotta comes with default properties that covers most of the known scenarios.
To modify these properties, refer Editing Extract Properties in Thoughtspot Data Point and Editing Load Properties in Thoughtspot Data Point.
- The default values for extract and load properties can be configured in the Admin module and these properties reflect in the Studio module.
- The extract and load properties set in data point are by default used in the source and target instance of the data flow and the job flows.
- It is a good practice to set the extract and load properties as per the company standards in the data point.
- However, if needed any specific property can be overridden in the data flow or job flow.