Importing a schema through the Web browser makes it possible to run your SQL script without needing to have a Linux login.

You can run a SQL script to create your database schema through the browser, without having to log in to the shell on the ThoughtSpot instance. You can edit the script and run it directly in the browser to create the schema. You can use this capability in any of these ways:

  • Create the SQL script ahead of time, and use the browser to run it.
  • Use the editor to type your SQL directly into the browser.
  • Use the browser SQL interface as an interactive SQL editor, for example to test an existing script or make changes to an existing schema.
  1. Log into ThoughtSpot from a browser.
  2. Click on DATA, on the top navigation bar.

  3. Click Actions and select Upload schema.

  4. Drag and drop your SQL file into the browser, or choose Browse Your Files to locate it.
  5. You’re now in the SQL editor. Use it to view your script and make any changes.

  6. When ready, run your script by clicking the Execute button.
  7. If there are any errors, correct them and run the script again.