Superset / Preset connect to Honeydew via JDBC connection, using the Trino protocol.Documentation Index
Fetch the complete documentation index at: https://honeydew.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Metadata Sync
With Metadata Sync, Honeydew can synchronize metadata such as field descriptions to Superset or Preset.Metadata Sync for Preset is in Preview. Reach out to support@honeydew.ai to enable.
Passing Parameters
Parameters can be passed to the Honeydew SQL interface via the FROM statement. Preset and Superset can parameterize queries using Jinja. To pass a URL parameter from Superset/Preset, create a Virtual Dataset (with a custom SQL) that looks as following:Setting up a New Database connection
Superset/Preset database connections are mapped to a Honeydew workspace and branch- Create a new database
- Choose Trino from the list of supported databases
- Set a unique Display Name for the connection (e.g. “Honeydew”)
-
Enter the following URI as the input:
Where
<api key>is the generated API key, and<api secret>is the corresponding API secret. Or alternatively:Where<user>is a Honeydew username, and<password>is that user’s password.API key and API secret (or alternatively, user and password) must be url-encoded., i.e.user@domain.comisuser%40domain.com. Encoding can be done using python (from urllib.parse import quote_plus), or via any urlencode website.For example, for userIf your organization uses a custom hostname for the JDBC connection, you can locate it in the Honeydew UI, under the JDBC section in Settings.user@domain.com, password123456and workspacetpch(prodbranch) the URI would be:And fordevbranch: - Click Test Connection to verify the connection settings
- Create the database connection
Creating a new dataset
A dataset in Superset/Preset is mapped to a specific database connection, and a specific domain.- Create a new dataset
- Choose the previously created database connection (it will be of type
trino) - For SCHEMA, choose
worldif you would like to connect to all metadata in Honeydew, ordomainsif you would like to connect to a specific domain - For TABLE, choose
worldif you have chosen theworldschema, or choose the relevant domain, if you have chosen thedomainsschema - Create the dataset
- You can now create charts and dashboards using this dataset