Skip to main content
Version: Next

Preset

Testing

Important Capabilities

CapabilityStatusNotes
Detect Deleted EntitiesOptionally enabled via stateful_ingestion
Table-Level LineageSupported by default

Variation of the Superset plugin that works with Preset.io (Apache Superset SaaS).

CLI based Ingestion

Install the Plugin

The preset source works out of the box with acryl-datahub.

Config Details

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

FieldDescription
api_key
string
Preset.io API key.
api_secret
string
Preset.io API secret.
connect_uri
string
Preset workspace URL.
Default:
database_alias
map(str,string)
display_uri
string
optional URL to use in links (if connect_uri is only for ingestion)
manager_uri
string
Preset.io API URL
options
object
Default: {}
password
string
Superset password.
platform_instance
string
The instance of the platform that all assets produced by this recipe belong to. This should be unique within the platform. See https://datahubproject.io/docs/platform-instances/ for more details.
provider
string
Superset provider.
Default: db
username
string
Superset username.
env
string
Environment to use in namespace when constructing URNs
Default: PROD
domain
map(str,AllowDenyPattern)
A class to store allow deny regexes
domain.key.allow
array
List of regex patterns to include in ingestion
Default: ['.*']
domain.key.allow.string
string
domain.key.ignoreCase
boolean
Whether to ignore case sensitivity during pattern matching.
Default: True
domain.key.deny
array
List of regex patterns to exclude from ingestion.
Default: []
domain.key.deny.string
string
stateful_ingestion
StatefulStaleMetadataRemovalConfig
Preset Stateful Ingestion Config.
stateful_ingestion.enabled
boolean
Whether or not to enable stateful ingest. Default: True if a pipeline_name is set and either a datahub-rest sink or datahub_api is specified, otherwise False
Default: False
stateful_ingestion.remove_stale_metadata
boolean
Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled.
Default: True

Code Coordinates

  • Class Name: datahub.ingestion.source.preset.PresetSource
  • Browse on GitHub

Questions

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