Using Starburst with Amazon QuickSight - Amazon QuickSight

Using Starburst with Amazon QuickSight

Starburst is a full-featured data lake analytics service built on top of a massively parallel processing (MPP) query engine, Trino. Use this section to learn how to connect from Amazon QuickSight to Starburst. All traffic between QuickSight and Starburst is enabled by SSL. If you're connecting to Starburst Galaxy, you can get the necessary connection details by logging in to your Starburst Galaxy account, then choose Partner Connect and then QuickSight. You should be able to see information, such as hostname and port. Amazon QuickSight supports basic username and password authentication to Starburst.

Creating a data source connection for Starburst

  1. Begin by creating a new dataset. From the left navigation pane, choose Datasets, then choose New Dataset.

  2. Choose the Starburst data source card.

    Choose the Trino data source card to create a new dataset with Trino.
  3. Select the Starburst product type. Choose Starburst Enterprise for on-prem Starburst instances. Choose Starburst Galaxy for managed instances.

    You should see the following data source creation modal.

    This is an example of a new data source connection to Starburst.
  4. For Data source name, enter a descriptive name for your Starburst data source connection. Because you can create many datasets from a connection to Starburst, it's best to keep the name simple.

  5. For Connection type, select the type of network you're using. Choose Public network if your data is shared publicly. Choose VPC if your data is inside a VPC. To configure a VPC connection in Amazon QuickSight, see Configuring the VPC connection in Amazon QuickSight. This connection type is not available for Starburst Galaxy.

  6. For Database server enter the hostname specified in your Starburst connection details.

  7. For Catalog, enter the catalog specified in your Starburst connection details.

  8. For Port, enter the port specified in your Starburst connection details. Defaults to 443 for Starburst Galaxy.

  9. For Username and Password, enter your Starburst connection credentials.

  10. To verify the connection is working, choose Validate connection.

  11. To finish and create the data source, choose Create data source.

Note

Connectivity between Amazon QuickSight and Starburst was validated using Starburst version 420.

Adding a new Amazon QuickSight dataset for Starburst

After you go through the data source creation process for Starburst, you can create Starburst datasets to use for analysis. You can create new datasets from a new or an existing Starburst data source. When you are creating a new data source, Amazon QuickSight immediately takes you to creating a dataset, which is step 3 below. If you're using an existing data source to create a new dataset, start from step 1 below.

To create a dataset using a Starburst data source, see the following steps.

  1. From the start page, choose Datasets and then choose New dataset at the top right.

  2. Scroll down to the section FROM EXISTING DATA SOURCES and choose the Starburst data source you just created in the section above.

  3. Choose Create data set.

  4. To specify the table you want to connect to, choose a schema. The screenshot below shows a chosen sample schema. If you don't want to choose a schema, you can also use your own SQL statement.

    Choose your Starburst table to visualize your data.
  5. To specify the table you want to connect to, first select the Schema you want to use. For Tables, select the table that you want to use. If you prefer to use your own SQL statement, select Use custom SQL.

  6. Choose Edit/Preview.

  7. (Optional) To add more data, use the following steps:

  8. Choose Add data at top right.

  9. To connect to different data, choose Switch data source, and choose a different dataset.

  10. Follow the prompts to finish adding data.

  11. After adding new data to the same dataset, choose Configure this join(the two red dots). Set up a join for each additional table.

  12. If you want to add calculated fields, choose Add calculated field.

  13. Clear the checkbox for any fields that you want to omit.

  14. Update any data types that you want to change.

  15. When you are done, choose Save to save and close the dataset.

Note

Connectivity between QuickSight and Starburst was validated using Starburst version 420.