<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why am I getting a FileNotFoundError after providing the file path? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-am-i-getting-a-filenotfounderror-after-providing-the-file/m-p/34051#M24845</link>
    <description>&lt;P&gt;I used copy file path to get the file path of the notebook I am trying to run from another notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_path = "/Users/ankur.lohiya@workday.com/PAS/Training/Ingest/TrainingQueries-Cloned.py/"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ddi = DatabricksDataIngestion(file_path=file_path,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;save_path=save_path,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;conn=conn,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;database_name=database_name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spark=spark)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dfs_dict = ddi.get_sql_queries()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I run this function, it gives me a filenotfounderror. Why is it giving me this error? &lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 23:29:57 GMT</pubDate>
    <dc:creator>Ank</dc:creator>
    <dc:date>2022-08-22T23:29:57Z</dc:date>
    <item>
      <title>Why am I getting a FileNotFoundError after providing the file path?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-am-i-getting-a-filenotfounderror-after-providing-the-file/m-p/34051#M24845</link>
      <description>&lt;P&gt;I used copy file path to get the file path of the notebook I am trying to run from another notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_path = "/Users/ankur.lohiya@workday.com/PAS/Training/Ingest/TrainingQueries-Cloned.py/"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ddi = DatabricksDataIngestion(file_path=file_path,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;save_path=save_path,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;conn=conn,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;database_name=database_name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spark=spark)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dfs_dict = ddi.get_sql_queries()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I run this function, it gives me a filenotfounderror. Why is it giving me this error? &lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 23:29:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-am-i-getting-a-filenotfounderror-after-providing-the-file/m-p/34051#M24845</guid>
      <dc:creator>Ank</dc:creator>
      <dc:date>2022-08-22T23:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a FileNotFoundError after providing the file path?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-am-i-getting-a-filenotfounderror-after-providing-the-file/m-p/34053#M24847</link>
      <description>&lt;P&gt;Hello @Ankur Lohiya​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 07:16:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-am-i-getting-a-filenotfounderror-after-providing-the-file/m-p/34053#M24847</guid>
      <dc:creator>Vidula</dc:creator>
      <dc:date>2022-09-12T07:16:32Z</dc:date>
    </item>
  </channel>
</rss>

