Hi,
coalesce is an operation which changes no of records in a partition. It
will not touch ordering with in a row AFAIK.

On Fri, Dec 19, 2014 at 2:22 AM, Jerry Lam <chiling...@gmail.com> wrote:
>
> Hi Spark users,
>
> I wonder if val resultRDD = RDDA.union(RDDB) will always have records in
> RDDA before records in RDDB.
>
> Also, will resultRDD.coalesce(1) change this ordering?
>
> Best Regards,
>
> Jerry
>


-- 
Regards,
Madhukara Phatak
http://www.madhukaraphatak.com

Reply via email to