>> 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
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
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
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
>