<?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 databricks autoloader source files in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-source-files/m-p/154925#M54156</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;How can handle this error when we use autoloader with spark.readStream&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;(com.databricks.sql.cloudfiles.errors.CloudFilesException) [CF_EMPTY_DIR_FOR_SCHEMA_INFERENCE] Cannot infer schema when the input path `/Volumes/default/landing/source/bundle/bundle_test/` is empty. Please try to start the stream when there are files in the input path, or specify the schema. SQLSTATE: 42000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2026 10:13:59 GMT</pubDate>
    <dc:creator>seefoods</dc:creator>
    <dc:date>2026-04-20T10:13:59Z</dc:date>
    <item>
      <title>databricks autoloader source files</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-source-files/m-p/154925#M54156</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;How can handle this error when we use autoloader with spark.readStream&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;(com.databricks.sql.cloudfiles.errors.CloudFilesException) [CF_EMPTY_DIR_FOR_SCHEMA_INFERENCE] Cannot infer schema when the input path `/Volumes/default/landing/source/bundle/bundle_test/` is empty. Please try to start the stream when there are files in the input path, or specify the schema. SQLSTATE: 42000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 10:13:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-autoloader-source-files/m-p/154925#M54156</guid>
      <dc:creator>seefoods</dc:creator>
      <dc:date>2026-04-20T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: databricks autoloader source files</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-source-files/m-p/154929#M54157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/65591"&gt;@seefoods&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The error message seems to indicate there are no files in the source path?&lt;/P&gt;
&lt;P&gt;You can either define the schema yourself and pass it to schema(...) so Auto Loader doesn’t need to infer anything.. and as soon as files arrive, the stream will start processing without needing any files to exist at start-up (or) if you really want Auto Loader to infer the schema then make sure there is at least one file in the source path even if that is just a sample file. Otherwise, you will continue getting this error.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 10:51:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-autoloader-source-files/m-p/154929#M54157</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-04-20T10:51:33Z</dc:date>
    </item>
  </channel>
</rss>

