Re: Connect the two tables in spark sql

2016-03-01 Thread Mich Talebzadeh
set[**T**] = withPlan[**T**](other){ > (left, right) =>* > > > > Thanks, > > William > > > > *From:* Ted Yu [mailto:yuzhih...@gmail.com] > *Sent:* Wednesday, March 2, 2016 11:41 AM > *To:* Angel Angel > *Cc:* user > *Subject:* Re: Connect the two tables in spa

RE: Connect the two tables in spark sql

2016-03-01 Thread Mao, Wei
:41 AM To: Angel Angel Cc: user Subject: Re: Connect the two tables in spark sql You only showed one record from each table. Have you looked at the following method in DataFrame ? def unionAll(other: DataFrame): DataFrame = withPlan { On Tue, Mar 1, 2016 at 7:13 PM, Angel Angel <arey

Re: Connect the two tables in spark sql

2016-03-01 Thread Ted Yu
You only showed one record from each table. Have you looked at the following method in DataFrame ? def unionAll(other: DataFrame): DataFrame = withPlan { On Tue, Mar 1, 2016 at 7:13 PM, Angel Angel wrote: > Hello Sir/Madam, > > I am using the spark sql for the data