You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by guxiaobo1982 <gu...@qq.com> on 2013/12/31 14:37:23 UTC

RDBMS Table to RDD

Hi,


Is there any tool to copy table in a RDBMS into RDD automatically?


Regards,


Xiaobo Gu

Re: RDBMS Table to RDD

Posted by Mayur Rustagi <ma...@gmail.com>.
Just export out data as csv and load it into hdfs. Then create a table with
it in shark shell then create a cached instance of of that table. You will
be able to query that table just like rdbms.
Regards
Mayur

Mayur Rustagi
Ph: +919632149971
h <https://twitter.com/mayur_rustagi>ttp://www.sigmoidanalytics.com
https://twitter.com/mayur_rustagi



On Tue, Dec 31, 2013 at 7:07 PM, guxiaobo1982 <gu...@qq.com> wrote:

> Hi,
>
> Is there any tool to copy table in a RDBMS into RDD automatically?
>
> Regards,
>
> Xiaobo Gu
>