demo for transpose in spark