In Starburst Galaxy, data products let you supply more detailed business context to users of your datasets. You can create a data product, directly from the navigation menu, from a schema, or from query results.
To create a data product, your active role set must include a role with the Manage Security account privilege.
From the navigation menu, go to Data > Data products.
In the Create data product dialog, select Create new data product or select Add to existing data product to update an existing data product. Click Next.
The following sections walk you through the configuration process:
In the Select data product location dialog, provide the following details:
Click Save and continue.
In the Add product details dialog, provide the following details:
In the Supporting information section, include any web links that are relevant to the data product.
In the Data product owner section, select a user who can provide information or support for the data product.
Click Save and continue.
In the Define datasets dialog, perform the following actions:
Use the SQL editor to edit and update your original SQL statement. If you created a data product from the query editor, your SQL statement is pre-populated here.
Click visibility Run and preview dataset to apply any changes made to the SQL query and to view a 10 row sample of the dataset.
The CREATE clause is automatically added at the time of dataset creation.
Queries must specify the full table path.
In the Dataset type section, choose whether to create a Table, View, or Materialized view from the dataset. This section shows only the dataset types supported by the selected dataset.
If selecting Materialized View, select a Refresh type: Manual or Scheduled. The Materialized View option also requires an object store configured with Iceberg as its default table format. The view is not visible, otherwise.
Provide a name for the dataset, then click Create dataset.
In the Create data product dialog, select Add to existing data product, choose a data product from the drop-down menu, then click Next.
In the Define datasets dialog, perform the following actions:
In the Dataset section, you can edit and update your original SQL statement.
Click visibility Preview dataset to apply any changes made to the SQL query and to view a 10 row sample of the dataset.
The CREATE clause is automatically added at the time of dataset creation.
In the Dataset type section, choose whether to create a Table, View, or Materialized view from the dataset. This section shows only the dataset types supported by the selected dataset.
If selecting Materialized View, select a Refresh type: Manual or Scheduled. The Materialized View option also requires an object store configured with Iceberg as its default table format. The view is not visible, otherwise.
Provide a name for the dataset, then click Add to data product.
You can create a data product from an existing schema by promoting it.
To promote a schema to a data product:
Locate the schema you would like to promote to a data product in the schemas level of the catalog explorer.
Click widgets Promote to data product.
In the dialog, provide the following details:
In the Default cluster section, click inside the Select cluster field to select a cluster from the list.
In the Contacts section, select a user who can provide information or support for the data product.
Click Promote to finish creating your data product.
After running a query, you can create a data product directly from the query editor.
Click widgets Create data product in the results pane, then follow the create data product configuration process.
Is the information on this page helpful?
Yes
No