lakehouse.databricks.cdm.get_cdm_entities_to_integrate

lakehouse.databricks.cdm.get_cdm_entities_to_integrate(spark, file_mount, override_sql_mount, exclusions=[], entity_list=[])

This function returns the information required to integrate CDM Entities from the Bronze Zone of the Data Lakehouse to the Silver Zone

Parameters

sparkspark context

spark context passed from the calling spark instance

file_mountstring

The mounting point where the cdm datalake storage is found

override_sql_mountstring

The mounting point where the sql overrides for cdm entities is found

exclusionslist, default = []

a list of entities to exclude during integration

entity_listlist, default = []

only include this list of entities to include during integration, if blank all entities intergated

Returns

list :

a list of CDM Entities to integrate including the name and sql query used to generate the entity