lakehouse.databricks.functions.helpers.main
- lakehouse.databricks.functions.helpers.main(spark, function, arg_params)
Main serves as an entry point allows caller to specify function to call and params for that function as JSON
Parameters
- sparkspark context
spark context passed from the calling spark instance
- functionstring
name of the function to call
- arg_paramsobject
json object which holds all of the parameters required by the function being call
Returns
- variant
the result of the function being called