Ericsson interview question

Spark SQL and expect an implementation