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 branchIt is recommended to use an API Key for setting up the connection.
- 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.com
isuser%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
, password123456
and workspacetpch
(prod
branch) the URI would be:And fordev
branch: - 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
world
if you would like to connect to all metadata in Honeydew, ordomains
if you would like to connect to a specific domain - For TABLE, choose
world
if you have chosen theworld
schema, or choose the relevant domain, if you have chosen thedomains
schema - Create the dataset
- You can now create charts and dashboards using this dataset