cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error while running the data engineering course notebook : "DE 2.2 - Providing Options for External Sources"

knowAsha
New Contributor II

I am running this notebook in Databricks community edition.  

Can somebody help me fixing this problem? I am running this notebook on databricks community edition

3 REPLIES 3

Anonymous
Not applicable

@Ammajamma Gyarappagariโ€‹ : Can you paste the code here?

lemfo
New Contributor II

Has anyone found a solution? I get the same error when trying it as of today. It says file / directory doesnt exist but when i run a dbutils.fs.ls() i can see that exact path. It also doesnt change when i manually change the code in the classroom-setup-2.2

lemfo
New Contributor II
df = spark.read.format('parquet').load(path = datasource_path)
df = df.select("*").toPandas()
df.to_sql('users', conn, if_exists='replace', index = False)

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group