cancel
Showing results for 
Search instead for 
Did you mean: 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exploiting Hive Metastore of Databricks for lineage

NOOR_BASHASHAIK
Contributor

Hi all

Wanted to check if anyone has made an attempt to exploit the Hive Metastore of Databricks for lineage?

For example, I loaded metadata of 2 databricks databases using the Collibra Marketplace provided Databricks driver. Here is the scenario -

Database 1 > Table_A

Database 2 > View_A based on Table_A

As the table & view relations are implicit, I expected the driver to show lineage/links between these 2 objects across databases within Collibra but it did not.

So, I plan to fetch the relationships information from Hive Metastore and feed into Collibra.

Couple of questions -

  1. Where can I see the data model of Hive Metastore? Is there any documentation link from Databricks side so i can quickly understand the schemata of the metastore.
  2. Is it advisable to query the metastore tables or are there any side-effects?
  3. How easy will it be to fetch the relationships between tables & views? Is there an out-of-the-box query?
3 REPLIES 3

Anonymous
Not applicable

Hi @NOOR BASHASHAIK (Customer)​ , Just a friendly follow-up. Do you still need help, or did Kaniz's response help you find the solution?

NOOR_BASHASHAIK
Contributor

@Chetan Kardekar​ @Kaniz Fatma​ yes, I still need a standard way (through SQL) to access Hive Metastore.

Hi @NOOR BASHA SHAIK​,

Just a friendly follow-up. Are you still looking for help or did Kaniz's reply helped you to resolved your question?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group