Tiger Analytics interview question

Coding test on SQL & Dataframes Internal of spark.