lakehouse.databricks.common.jinga_reference

lakehouse.databricks.common.jinga_reference(config_mount: str, input: str) str

This function evaluates input string and applies jinga macros found in the macro_functions.j2 file in the config/04-macros folder in the data lake

Parameters

config_mountstring

The mounting point where the config files are located

inputstring

input string to be evaluated for jinga macro

Returns

string :

the transformed string if Jinga macro found, else the input string