I am tring to melt spark dataframe in scala using below code
val sourceDf = Seq( (None, None, Some(3),None), (None, None, None, Some(3)),