Re: how to bring second column value under first column
gt; | accountID| accountID| > > +--+------+ > > |1190000152|119279| > > +--+--+ > > > how to bring second column value under first column? > > >
how to bring second column value under first column
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?