explode(split(accountID, ','))
On Tue, 14 Mar 2017 at 11:53 Suresh Ayyavoo <sur...@iappsasia.com> wrote: > finalval.selectExpr("split(accountID, ',')[0] as accountID","split(accountID, > ',')[1] as accountID") > > > +----------+----------+ > > | accountID| accountID| > > +----------+----------+ > > |1190000152|1190000279| > > +----------+----------+ > > > how to bring second column value under first column? > > >