Thanks for update .

We have frame work  restrictions in databricks  in my organisation and  we need to use only scala code