Re: Connection to Presto via Spark

2021-01-21 Thread Gourav Sengupta
Terribly fascinating. Any insights into why are we not trying to use spark itself? Regards Gourav On Wed, 13 Jan 2021, 12:46 Vineet Mishra, wrote: > Hi, > > I am trying to connect to Presto via Spark shell using the following > connection string, however ending up with exception > > *-bash-4.2$

Connection to Presto via Spark

2021-01-13 Thread Vineet Mishra
Hi, I am trying to connect to Presto via Spark shell using the following connection string, however ending up with exception *-bash-4.2$ spark-shell --driver-class-path com.facebook.presto.jdbc.PrestoDriver --jars presto-jdbc-0.221.jar* *scala> val presto_df = sqlContext.read.format("jdbc").op