You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by pseudo oduesp <ps...@gmail.com> on 2016/06/26 12:20:24 UTC
add multiple columns
Hi who i can add multiple columns to data frame
withcolumns allow to add one columns but when you have multiple i have to
loop on eache columns ?
thanks
Re: add multiple columns
Posted by ayan guha <gu...@gmail.com>.
Can you share an example? You may want to write a sql stmt to add the
columns>?
On Sun, Jun 26, 2016 at 11:02 PM, <nd...@gmail.com> wrote:
> Hi guy!
>
> I'm afraid you have to loop...The update of the Logical Plan is getting
> faster on Spark.
>
> Cheers,
> Ardo.
>
> Sent from my iPhone
>
> > On 26 Jun 2016, at 14:20, pseudo oduesp <ps...@gmail.com> wrote:
> >
> > Hi who i can add multiple columns to data frame
> >
> > withcolumns allow to add one columns but when you have multiple i have
> to loop on eache columns ?
> >
> > thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>
--
Best Regards,
Ayan Guha
Re: add multiple columns
Posted by nd...@gmail.com.
Hi guy!
I'm afraid you have to loop...The update of the Logical Plan is getting faster on Spark.
Cheers,
Ardo.
Sent from my iPhone
> On 26 Jun 2016, at 14:20, pseudo oduesp <ps...@gmail.com> wrote:
>
> Hi who i can add multiple columns to data frame
>
> withcolumns allow to add one columns but when you have multiple i have to loop on eache columns ?
>
> thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org