Re: how to bring second column value under first column

2017-03-14 Thread Daniel Haviv
gt; | accountID| accountID| > > +--+------+ > > |1190000152|119279| > > +--+--+ > > > how to bring second column value under first column? > > >

how to bring second column value under first column

2017-03-14 Thread Suresh Ayyavoo
finalval.selectExpr("split(accountID, ',')[0] as accountID","split(accountID, ',')[1] as accountID") +--+--+ | accountID| accountID| +--+--+ |119152|1190000279| +--+------+ how to bring second column value under first column?