Re: Concatenate a string to a Column of type string in DataFrame

2015-12-14 Thread Michael Armbrust
>> Will the below mentioned snippet work for Spark 1.4.0 >> >> Thanks for your inputs >> >> Regards, >> Satish >> -- >> From: Yanbo Liang >> Sent: ‎12-‎12-‎2015 20:54 >> To: satish chandra j >> Cc: user

Re: Concatenate a string to a Column of type string in DataFrame

2015-12-13 Thread Yanbo Liang
To: satish chandra j > Cc: user > Subject: Re: Concatenate a string to a Column of type string in DataFrame > > Hi Satish, > > You can refer the following code snippet: > df.select(concat(col("String_Column"), lit("00:00:000"))) > > Yanbo > > 20

RE: Concatenate a string to a Column of type string in DataFrame

2015-12-12 Thread Satish
Hi, Will the below mentioned snippet work for Spark 1.4.0 Thanks for your inputs Regards, Satish -Original Message- From: "Yanbo Liang" Sent: ‎12-‎12-‎2015 20:54 To: "satish chandra j" Cc: "user" Subject: Re: Concatenate a string to a Column of type

Re: Concatenate a string to a Column of type string in DataFrame

2015-12-12 Thread Yanbo Liang
Hi Satish, You can refer the following code snippet: df.select(concat(col("String_Column"), lit("00:00:000"))) Yanbo 2015-12-12 16:01 GMT+08:00 satish chandra j : > HI, > I am trying to update a column value in DataFrame, incrementing a column > of integer data type than the below code works >