lakehouse.databricks.common_helpers.get_db_utils
- lakehouse.databricks.common_helpers.get_db_utils(spark)
Returns an instance of the DBUtils (pyspark.dbutils) object or the dbutils object (IPython), depending on the environment in which the Spark
Parameters
- sparkspark context
spark context passed from the calling spark instance
Returns
- object :
An instance of the DBUtils object from the pyspark.dbutils module or the dbutils object from IPytho