Hi Mustafa, are you trying to run geospatial queries on the PostGIS DB with SparkSQL? Correct me if I'm wrong, but I think SparkSQL itself would need to support the geospatial extensions in order for this to work.
On Wed, Nov 4, 2015 at 1:46 PM, Mustafa Elbehery <[email protected]> wrote: > Hi Folks, > > I am trying to connect from SparkShell to PostGIS Database. Simply PostGIS > is a *spatial *extension for Postgresql, in order to support *geometry * > types. > > Although the JDBC connection from spark works well with Postgresql, it > does not with a database on the same server, which supports the PostGIS > extension. > > I have tried to build the JDBC driver of the PostGIS, and use it, but it > throws *No suitable driver found for jdbc:postgis.* > > Would like to know if anyone had the same problem before reporting the bug > on JIRA. > > Regards. > > -- > Mustafa Elbehery > EIT ICT Labs Master School <http://www.masterschool.eitictlabs.eu/home/> > +49(0)15750363097 > skype: mustafaelbehery87 > > -- BR, Stefano Baghino Software Engineer @ Radicalbit
