Relative Content

Tag Archive for pysparkdatabricksuser-defined-functions

Facing issue with python udf in Databricks

I’m working with hierarchical data in PySpark where each employee has a manager, and I need to find all the inline managers for each employee. An inline manager is defined as the manager of the manager, and so on, until we reach the top-level manager (CEO) who does not have a manager.