How to enable snowflake profiling for views in DataHub metadata ingestion

Original Slack Thread

Hi, I see snowflake profiling is only currently available for Tables. How can I edit the code so profiling will be enabled for views?

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)

You would need to go into https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/source/snowflake/snowflake_v2.py and play around with the use of SnowflakeProfiler. You may have to make some edits SnowflakeProfiler class itself. Does that point you in the right direction?