<?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 Schema Evolution from Kafka Source in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/schema-evolution-from-kafka-source/m-p/38549#M26671</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Spark streaming process that reads data from a Kafka topic to Azure DL&lt;BR /&gt;This is how I implement the MERGE capability into the delta table.&lt;BR /&gt;In addition to the same topic, I have another streaming process that simply writes data to DL&lt;BR /&gt;In kafka topic, data is not deleted, so you can always initialize from the beginning.&lt;/P&gt;&lt;P&gt;A few days ago another column was added to the kafka topic&lt;BR /&gt;1. In MERGE, I don't see that the column has been added, even though it is set to optional&lt;BR /&gt;.option("mergeSchema", "true")&lt;BR /&gt;option("mode", "FAILFAST")&lt;/P&gt;&lt;P&gt;2. In the second process that I ran at the beginning I get an error&lt;BR /&gt;Malformed records are detected in record parsing. Current parse Mode: FAILFAST. To process malformed records as null result, try setting the option 'mode' as 'PERMISSIVE'.&lt;/P&gt;&lt;P&gt;Although in the settings it is explicitly marked. option("mode", "PERMISSIVE")&lt;BR /&gt;It could be that because it's the same kafkatopic they conflict with the definition of mode "FAILFAST?&lt;/P&gt;&lt;P&gt;1. How do I cause a column to be added to the process with MERGE?&lt;BR /&gt;2. How do I start the process?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 08:41:43 GMT</pubDate>
    <dc:creator>emanuelsh</dc:creator>
    <dc:date>2023-07-27T08:41:43Z</dc:date>
    <item>
      <title>Schema Evolution from Kafka Source</title>
      <link>https://community.databricks.com/t5/data-engineering/schema-evolution-from-kafka-source/m-p/38549#M26671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Spark streaming process that reads data from a Kafka topic to Azure DL&lt;BR /&gt;This is how I implement the MERGE capability into the delta table.&lt;BR /&gt;In addition to the same topic, I have another streaming process that simply writes data to DL&lt;BR /&gt;In kafka topic, data is not deleted, so you can always initialize from the beginning.&lt;/P&gt;&lt;P&gt;A few days ago another column was added to the kafka topic&lt;BR /&gt;1. In MERGE, I don't see that the column has been added, even though it is set to optional&lt;BR /&gt;.option("mergeSchema", "true")&lt;BR /&gt;option("mode", "FAILFAST")&lt;/P&gt;&lt;P&gt;2. In the second process that I ran at the beginning I get an error&lt;BR /&gt;Malformed records are detected in record parsing. Current parse Mode: FAILFAST. To process malformed records as null result, try setting the option 'mode' as 'PERMISSIVE'.&lt;/P&gt;&lt;P&gt;Although in the settings it is explicitly marked. option("mode", "PERMISSIVE")&lt;BR /&gt;It could be that because it's the same kafkatopic they conflict with the definition of mode "FAILFAST?&lt;/P&gt;&lt;P&gt;1. How do I cause a column to be added to the process with MERGE?&lt;BR /&gt;2. How do I start the process?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 08:41:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schema-evolution-from-kafka-source/m-p/38549#M26671</guid>
      <dc:creator>emanuelsh</dc:creator>
      <dc:date>2023-07-27T08:41:43Z</dc:date>
    </item>
  </channel>
</rss>

