I have a dataset with around 10 million records and I am performing unpivot operation using stack function in spark. This operation is is taking around 7 minutes to execute even