To my knowledge this is not supported.

On Mon, Jun 29, 2015 at 10:47 AM, Ashish Soni <[email protected]> wrote:

>
> Hi All ,
>
> What is the best possible way to load multiple data tables using spark sql
>
> Map<String, String> options = new HashMap<>();
> options.put("driver", MYSQLDR);
> options.put("url", MYSQL_CN_URL);
> options.put("dbtable","(select * from courses);
>
>
>
>
> *can i add multiple tables to options map options.put("dbtable1","(select
> * from test1);options.put("dbtable2","(select * from test2);*
>
>
> DataFrame jdbcDF = sqlContext.load("jdbc", options);
>
>
> Thanks,
> Ashish
>

Reply via email to