Skip to main content

Superset

Module superset

Certified

This plugin extracts the following:

  • Charts, dashboards, and associated metadata

See documentation for superset's /security/login at https://superset.apache.org/docs/rest-api for more details on superset's login api.

CLI based Ingestion

Install the Plugin

pip install 'acryl-datahub[superset]'

Starter Recipe

Check out the following recipe to get started with ingestion! See below for full configuration options.

For general pointers on writing and running a recipe, see our main recipe guide.

source:
type: superset
config:
# Coordinates
connect_uri: http://localhost:8088

# Credentials
username: user
password: pass
provider: ldap

sink:
# sink configs

Config Details

Note that a . is used to denote nested fields in the YAML recipe.

View All Configuration Options
Field [Required]TypeDescriptionDefaultNotes
connect_uri [✅]stringSuperset host URL.http://localhost:8088
database_alias [✅]map(str,string)None
display_uri [✅]stringoptional URL to use in links (if connect_uri is only for ingestion)None
options [✅]objectNone
password [✅]stringSuperset password.None
provider [✅]stringSuperset provider.db
username [✅]stringSuperset username.None
env [✅]stringEnvironment to use in namespace when constructing URNsPROD

If you were using database_alias in one of your other ingestions to rename your databases to something else based on business needs you can rename them in superset also

source:
type: superset
config:
# Coordinates
connect_uri: http://localhost:8088

# Credentials
username: user
password: pass
provider: ldap
database_alias:
example_name_1: business_name_1
example_name_2: business_name_2

sink:
# sink configs

Code Coordinates

  • Class Name: datahub.ingestion.source.superset.SupersetSource
  • Browse on GitHub

Questions

If you've got any questions on configuring ingestion for Superset, feel free to ping us on our Slack