I have a SQLite file in an Object Storage instance on IBM's Bluemix. I want to access that file from a Python notebook in Spark as a Service. Right now, the following code does not work:
df = sqlContext.read.format('jdbc').\
options(url='jdbc:sqlite:swift://container.spark/db.sqlite',\
dbtable='schema.tablename').load()
print df.take(10)
The error I get is: No suitable driver found for jdbc:sqlite://container.spark/db.sqlite
I've been looking for documentation for this, but I haven't been able to find it. Any help would be much appreciated. How do I access a SQLite file on Object Storage from Spark as a Service on Bluemix?