If you want to delete a data source, make sure and read this section so you don't inadvertently delete data in ThoughtSpot.

Whenever you delete a data source, you also have the option to drop or retain the table it loads into in the target system (ThoughtSpot). This is useful when you make changes to a table and create a new data source that loads into the table. So, you can safely delete any data source that references a target table that you don’t want to lose.

Before you begin, if there are any recurring data load jobs for the data source you are deleting, follow the steps in Stop a scheduled job from running. Then, do the following to delete a data source:

  1. Log in to ThoughtSpot from a browser.
  2. Click on DATA, on the top navigation bar.

  3. Click the Data Sources tab at the top of the screen.

  4. Find the data source you want to delete, and click on its name.
  5. Click Edit. This will bring you to the setup screens for a new data source. Step through all the screens by clicking Next, until you reach the final page.
  6. Click the Import button.
  7. Click the here link to review the TQL script that created the target table in ThoughtSpot.

  8. Take a look at the table name and its schema. Decide if the table is one you want to keep in ThoughtSpot.
  9. Go back to the data sources listing, click the checkbox next to the data source, and delete it.

  10. In the Confirm delete prompt, select the checkbox if you want to delete the tables associated with the data source. Leave the checkbox unselected if you have decided to keep the tables.