Why am I getting a FileNotFoundError after providing the file path?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 04:29 PM
I used copy file path to get the file path of the notebook I am trying to run from another notebook.
file_path = "/Users/ankur.lohiya@workday.com/PAS/Training/Ingest/TrainingQueries-Cloned.py/"
ddi = DatabricksDataIngestion(file_path=file_path,
save_path=save_path,
conn=conn,
database_name=database_name,
spark=spark)
dfs_dict = ddi.get_sql_queries()
However, when I run this function, it gives me a filenotfounderror. Why is it giving me this error?
Labels:
- Labels:
-
Copy File Path
-
File Path
-
SQL Queries