-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while connecting to Databases in DataBrick Community Edition on Cloud . #51
Comments
try with |
Thanks it worked |
how did you fix this? i am getting same error even after making above suggestion. driver = "org.sqlite.JDBC" dbDataFrame = spark.read.format("jdbc").option("url", url).option("dbtable", tablename).option("driver", driver).load() Py4JJavaError: An error occurred while calling o608.load. |
Also getting same error after trying the correction |
HI,
I have downloaded repository and I was able to execute and practice all example . But when I am trying to execute examples related to SQL data source from Chapter 9 Data Source I am getting following error. I don't have any clue on what to do so please guide me. Thanks in advance.
Error"Java.sql.SQLException: path to '/databricks-datasets/definitive-guide/data/flight-data/jdbc/my-sqlite.db': '/databricks-datasets' does not exist"
Path do exists when I run %fs ls and I get following
dbfs:/databricks-datasets/definitive-guide/data/flight-data/jdbc/my-sqlite.db
Following are parameters
driver = "org.sqlite.JDBC" path = "/databricks-datasets/definitive-guide/data/flight-data/jdbc/my-sqlite.db" url = "jdbc:sqlite:" + path tablename = "flight_info"
The text was updated successfully, but these errors were encountered: