While you can construct the SQL string dynamically in scala/java/python, it 
would be best to use the Dataframe API for creating dynamic SQL queries.  See 
http://spark.apache.org/docs/1.5.2/sql-programming-guide.html for details.

On Feb 2, 2016, at 6:49 PM, Divya Gehlot <divya.htco...@gmail.com> wrote:

> Hi,
> Does Spark supports dyamic sql ?
> Would really appreciate the help , if any one could share some 
> references/examples.
> 
> 
> 
> Thanks,
> Divya 

Reply via email to