How to Delete or Wipe Whole Metadata in Datahub Deployed on Kubernetes

Original Slack Thread

Datahub is deployed in kubernates and i am trying to delete the metadata using datahub cli but i see the junk of data persist. I did up upgrade from 0.10.0 to 0.12.0 with new external database. But i see there is a junk of data prepopulated from snowflake and tableau of the pervious version which cannot be deleted in the frontend through datahub cli. Is there any way to delete or wipe whole metadata.

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

try this (be sure to keep the --dry-run flag on until you know you want to remove it)

datahub delete by-filter --platform “snowflake” --dry-run