<?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 Re: what api calls does autoloader make on s3? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94326#M38869</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127421"&gt;@SakuraDev1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;LIST and GET make sense.&lt;BR /&gt;&lt;BR /&gt;How autoloader works is monitors a specified location and then if the new file is discovered, it is being processed to bronze table.&lt;BR /&gt;&lt;BR /&gt;So a LIST request is needed to check the files in the source directory, and then this list of files is compared against the list of already processed files. The unprocessed files are then loaded into bronze table. For every file you need a GET request to read the file and its content.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 18:59:57 GMT</pubDate>
    <dc:creator>filipniziol</dc:creator>
    <dc:date>2024-10-16T18:59:57Z</dc:date>
    <item>
      <title>what api calls does autoloader make on s3?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94304#M38863</link>
      <description>&lt;P&gt;Hey guys I'm trying to find the estimate for an ingestion pipeline that uses autoloader on an S3 bucket every 2 minutes.&lt;/P&gt;&lt;P data-unlink="true"&gt;I found the pricing for&amp;nbsp;&lt;A href="https://aws.amazon.com/s3/pricing/" target="_self"&gt;s3 bucket api consumption&amp;nbsp;but I am not certain what api calls will autoloader make.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Talking to chatGPT it told me i will have a List call per execution and then a get call per file per execution, but i am not certain of this answer&lt;/P&gt;&lt;LI-CODE lang="python"&gt;spark.readStream
    .format("cloudFiles")
    .option("cloudFiles.format", "json")
    .schema(json_schema_bronze)
    .load("s3://path")

dfBronze.writeStream \
    .format("delta") \
    .option("checkpointLocation", checkpoint_dir_path_bronze) \
    .outputMode("append") \
    .trigger(processingTime="120 second") \
    .table(bronze_table)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 14:38:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94304#M38863</guid>
      <dc:creator>SakuraDev1</dc:creator>
      <dc:date>2024-10-16T14:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: what api calls does autoloader make on s3?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94326#M38869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127421"&gt;@SakuraDev1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;LIST and GET make sense.&lt;BR /&gt;&lt;BR /&gt;How autoloader works is monitors a specified location and then if the new file is discovered, it is being processed to bronze table.&lt;BR /&gt;&lt;BR /&gt;So a LIST request is needed to check the files in the source directory, and then this list of files is compared against the list of already processed files. The unprocessed files are then loaded into bronze table. For every file you need a GET request to read the file and its content.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 18:59:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94326#M38869</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-16T18:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: what api calls does autoloader make on s3?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94340#M38877</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/117376"&gt;@filipniziol&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response, I've been trying to find some docs about this with no luck so far, do you happen to know any?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 20:11:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-api-calls-does-autoloader-make-on-s3/m-p/94340#M38877</guid>
      <dc:creator>SakuraDev1</dc:creator>
      <dc:date>2024-10-16T20:11:09Z</dc:date>
    </item>
  </channel>
</rss>

