<?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: Getting a key mismatch error with Delta Live Tables. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31258#M22740</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;Hello! I have gone through the documentation and used it when I set up the dlt. To be more specific when I run an initial load everything works just fine. I run my appflow which creates a folder in s3 and the path would be something like s3://mybucket/ingestion/load1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when I run the appflow again to get the latest updates it will create a new folder in the same path. For example: s3://mybucket/ingestion/load2 that is what the error would say&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;com.databricks.sql.cloudfiles.errors.CloudFilesIllegalStateException: Found mismatched event: key s3://mybucket/ingestion/load2 does not have the prefix load1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 07:26:20 GMT</pubDate>
    <dc:creator>logan0015</dc:creator>
    <dc:date>2022-09-23T07:26:20Z</dc:date>
    <item>
      <title>Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31256#M22738</link>
      <description>&lt;P&gt;I am attempting to create a streaming delta live table. The main issue I am experiencing is the error below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;com.databricks.sql.cloudfiles.errors.CloudFilesIllegalStateException: Found mismatched event: key&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have an aws appflow that is creating a folder in s3 that is filled with parquet files. When I ingest this folder the first time everything works perfectly. However the next time the flow runs and creates a folder (whose name is unique each run) I receive the above error with it stating that the folders prefix doesn't match. Has anyone else had this issue? &lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 21:30:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31256#M22738</guid>
      <dc:creator>logan0015</dc:creator>
      <dc:date>2022-09-20T21:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31258#M22740</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;Hello! I have gone through the documentation and used it when I set up the dlt. To be more specific when I run an initial load everything works just fine. I run my appflow which creates a folder in s3 and the path would be something like s3://mybucket/ingestion/load1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when I run the appflow again to get the latest updates it will create a new folder in the same path. For example: s3://mybucket/ingestion/load2 that is what the error would say&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;com.databricks.sql.cloudfiles.errors.CloudFilesIllegalStateException: Found mismatched event: key s3://mybucket/ingestion/load2 does not have the prefix load1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 07:26:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31258#M22740</guid>
      <dc:creator>logan0015</dc:creator>
      <dc:date>2022-09-23T07:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31259#M22741</link>
      <description>&lt;P&gt;Hi @Logan Nicol​&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;</description>
      <pubDate>Sun, 02 Oct 2022 11:43:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31259#M22741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-02T11:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31260#M22742</link>
      <description>&lt;P&gt;Hello, @Vidula Khanna​. No my issue has not been resolved. I was only pointed to the documentation I had already been using. &lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 14:01:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31260#M22742</guid>
      <dc:creator>logan0015</dc:creator>
      <dc:date>2022-10-03T14:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31261#M22743</link>
      <description>&lt;P&gt;If anyone comes back to this. I ended up finding the solution on my own. DLT makes it so if you are streaming files from a location then the folder cannot change. You must drop your files into the same folder. Otherwise it complains about the name of the folder not being what it expects. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 14:31:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31261#M22743</guid>
      <dc:creator>logan0015</dc:creator>
      <dc:date>2022-10-26T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31262#M22744</link>
      <description>&lt;P&gt;Hi, I am also facing the same issue, but I found nothing on the documentation to fix it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1473i16523E579D074A5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 12:06:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31262#M22744</guid>
      <dc:creator>VijaC_97468</dc:creator>
      <dc:date>2023-05-02T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a key mismatch error with Delta Live Tables.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31257#M22739</link>
      <description>&lt;P&gt;Hi, Could you please go through this auto loader cloud files options: &lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;A href="https://docs.databricks.com/ingestion/auto-loader/options.html#auto-loader-options" target="test_blank"&gt;https://docs.databricks.com/ingestion/auto-loader/options.html#auto-loader-options&lt;/A&gt; .&lt;/U&gt;&lt;/P&gt;&lt;P&gt;This error is not so common , we have to look into it. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 07:09:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-a-key-mismatch-error-with-delta-live-tables/m-p/31257#M22739</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-09-23T07:09:00Z</dc:date>
    </item>
  </channel>
</rss>

