Re: Load Multiple DB Table - Spark SQL

2015-06-29 Thread Ted Yu
To my knowledge this is not supported. On Mon, Jun 29, 2015 at 10:47 AM, Ashish Soni wrote: > > Hi All , > > What is the best possible way to load multiple data tables using spark sql > > Map options = new HashMap<>(); > options.put("driver", MYSQLDR); > options.put("url", MYSQL_CN_URL); > optio

Load Multiple DB Table - Spark SQL

2015-06-29 Thread Ashish Soni
Hi All , What is the best possible way to load multiple data tables using spark sql Map 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"