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)

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!