0 votes
in Apache Superset by
What is the role of a datasource in Apache Superset and how would you create a new datasource to use in your visualizations?

1 Answer

0 votes
by

A datasource in Apache Superset serves as the foundation for creating visualizations, providing data from databases or other sources to be analyzed and displayed. It acts as a bridge between raw data and the visualization tools within Superset.

To create a new datasource:

1. Ensure you have added your database connection under “Sources > Databases.”

2. Navigate to “Sources > Tables” and click on “+ Table” button.

3. Select the desired database from the dropdown menu.

4. Enter the schema (if applicable) and table name of the dataset you want to use.

5. Configure any additional settings such as caching, time granularity, or SQL Lab settings.

6. Click on “Save” to add the datasource.

Once created, this datasource can be used in various visualizations by selecting it when creating a new chart or dashboard.

...