I am new to Spark-SQL. I have information in Spark Dataframe like this
Company Type Status
A X done
A Y done
A Z done
C X done
C Y done
B Y done
I am want to be displayed like the following
Company X-type Y-type Z-type
A done done done
B pending done pending
C done done pending
I am not able to acheive this is Spark-SQL
Please Help