Ajay-Pandey
Databricks MVP

Hi @Raghu G​ please refer below code -

Image 

Ajay Kumar Pandey

View solution in original post