<?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 Documented Autoloader option not supported? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7320#M3221</link>
    <description>&lt;P&gt;I have a function which is meant to use the `cloudFiles` source to stream file contents from s3. It is configured like this:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;stream = (&lt;/P&gt;&lt;P&gt;    spark.readStream.format("cloudFiles")&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.format", "text")&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.schemaLocation", MY_CHECKPOINT_PATH)&lt;/P&gt;&lt;P&gt;    .option("wholeText", True)&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.fetchParallelism", &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.pathGlobFilter", "*/subdir/*")&lt;/P&gt;&lt;P&gt;   .load(MY_S3_PATH)&lt;/P&gt;&lt;P&gt;    )&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;According to the &lt;A href="https://docs.databricks.com/ingestion/auto-loader/options.html#generic-options" alt="https://docs.databricks.com/ingestion/auto-loader/options.html#generic-options" target="_blank"&gt;autoloader docs&lt;/A&gt;, this is a valid option, but when I run this in a notebook on DBR 11.3 LTS personal cluster, I get  `CloudFilesIllegalArgumentException: Found unknown option keys: cloudFiles.pathglobfilter`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is on an AWS deployment of databricks. I've also tried running on a 12.2 cluster, with the same result. I've also tried a number of different version of the glob filter pattern itself, to no avail. This is the simplest one (my real use case would need a comma-separated string of options or something like that).&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 19:27:30 GMT</pubDate>
    <dc:creator>bd</dc:creator>
    <dc:date>2023-03-21T19:27:30Z</dc:date>
    <item>
      <title>Documented Autoloader option not supported?</title>
      <link>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7320#M3221</link>
      <description>&lt;P&gt;I have a function which is meant to use the `cloudFiles` source to stream file contents from s3. It is configured like this:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;stream = (&lt;/P&gt;&lt;P&gt;    spark.readStream.format("cloudFiles")&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.format", "text")&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.schemaLocation", MY_CHECKPOINT_PATH)&lt;/P&gt;&lt;P&gt;    .option("wholeText", True)&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.fetchParallelism", &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;    .option("cloudFiles.pathGlobFilter", "*/subdir/*")&lt;/P&gt;&lt;P&gt;   .load(MY_S3_PATH)&lt;/P&gt;&lt;P&gt;    )&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;According to the &lt;A href="https://docs.databricks.com/ingestion/auto-loader/options.html#generic-options" alt="https://docs.databricks.com/ingestion/auto-loader/options.html#generic-options" target="_blank"&gt;autoloader docs&lt;/A&gt;, this is a valid option, but when I run this in a notebook on DBR 11.3 LTS personal cluster, I get  `CloudFilesIllegalArgumentException: Found unknown option keys: cloudFiles.pathglobfilter`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is on an AWS deployment of databricks. I've also tried running on a 12.2 cluster, with the same result. I've also tried a number of different version of the glob filter pattern itself, to no avail. This is the simplest one (my real use case would need a comma-separated string of options or something like that).&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 19:27:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7320#M3221</guid>
      <dc:creator>bd</dc:creator>
      <dc:date>2023-03-21T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Documented Autoloader option not supported?</title>
      <link>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7321#M3222</link>
      <description>&lt;P&gt;Hi @Benjamin Dean​&amp;nbsp;, The issue is about the option "cloudFiles.pathGlobFilter". You don't need to use the cloudFiles prefix here. You can directly mention "pathGlobFilter" instead&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 12:03:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7321#M3222</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-03-22T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Documented Autoloader option not supported?</title>
      <link>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7322#M3223</link>
      <description>&lt;P&gt;thanks, I see how I made that error. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 13:33:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/documented-autoloader-option-not-supported/m-p/7322#M3223</guid>
      <dc:creator>bd</dc:creator>
      <dc:date>2023-03-22T13:33:49Z</dc:date>
    </item>
  </channel>
</rss>

