<?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 Having Issues with extracting records from complex JSON in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22209#M15194</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using delta live tables to ingest data from Kafka.&lt;/P&gt;&lt;P&gt;the JSON file we receive is a complex JSON structure and we are trying to explode the file into its necessary columns and transactions, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please  see attached sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ "TableName": "SCADAAlarms", "Site": "UK", "Result": [ { "ID": "2517529557685533332_EM_MIX2.ALM.10", "Plant": "R4P", "SequenceNumber": 6, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": "2022-04-07T15:23:51.4466667", "AcknowledgedTime": null, "ResetTime": null, "GeneratedLoggedBy": "MASTER_PTM0_RP", "AcknowledgedLoggedBy": null, "ResetLoggedBy": null },{ "ID": "2517529557685533332_EM_MIX2.ALM.50", "Plant": "R4P", "SequenceNumber": 7, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": null, "AcknowledgedTime": "2022-04-07T15:24:51.4466667", "ResetTime": null, "GeneratedLoggedBy": null, "AcknowledgedLoggedBy": "MASTER_PTM0_RP", "ResetLoggedBy": null },{ "ID": "2517529557685533332_EM_MIX2.ALM.50", "Plant": "R4P", "SequenceNumber": 8, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": null, "AcknowledgedTime": null, "ResetTime": "2022-04-07T15:25:51.4466667", "GeneratedLoggedBy": null, "AcknowledgedLoggedBy": null, "ResetLoggedBy": "MASTER_PTM0_RP" } ] }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 13:26:55 GMT</pubDate>
    <dc:creator>ABAGRI</dc:creator>
    <dc:date>2022-04-25T13:26:55Z</dc:date>
    <item>
      <title>Having Issues with extracting records from complex JSON</title>
      <link>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22209#M15194</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using delta live tables to ingest data from Kafka.&lt;/P&gt;&lt;P&gt;the JSON file we receive is a complex JSON structure and we are trying to explode the file into its necessary columns and transactions, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please  see attached sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ "TableName": "SCADAAlarms", "Site": "UK", "Result": [ { "ID": "2517529557685533332_EM_MIX2.ALM.10", "Plant": "R4P", "SequenceNumber": 6, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": "2022-04-07T15:23:51.4466667", "AcknowledgedTime": null, "ResetTime": null, "GeneratedLoggedBy": "MASTER_PTM0_RP", "AcknowledgedLoggedBy": null, "ResetLoggedBy": null },{ "ID": "2517529557685533332_EM_MIX2.ALM.50", "Plant": "R4P", "SequenceNumber": 7, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": null, "AcknowledgedTime": "2022-04-07T15:24:51.4466667", "ResetTime": null, "GeneratedLoggedBy": null, "AcknowledgedLoggedBy": "MASTER_PTM0_RP", "ResetLoggedBy": null },{ "ID": "2517529557685533332_EM_MIX2.ALM.50", "Plant": "R4P", "SequenceNumber": 8, "CreationTimeUTC": "2022-04-07T15:23:51.4466667", "AlarmID": "EM_MIX2.ALM.50", "AlarmMessage": "Mixer 2 Utilities Not Running Sequence Stopped", "AlarmClass": "MIXHI2222", "GeneratedTime": null, "AcknowledgedTime": null, "ResetTime": "2022-04-07T15:25:51.4466667", "GeneratedLoggedBy": null, "AcknowledgedLoggedBy": null, "ResetLoggedBy": "MASTER_PTM0_RP" } ] }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:26:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22209#M15194</guid>
      <dc:creator>ABAGRI</dc:creator>
      <dc:date>2022-04-25T13:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Having Issues with extracting records from complex JSON</title>
      <link>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22210#M15195</link>
      <description>&lt;P&gt;Hi @Lantis Pillay​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting an error or what is the issue you are facing? Please share what you have done so far, this will help us to undertand better what is the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 00:03:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22210#M15195</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-06-02T00:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Having Issues with extracting records from complex JSON</title>
      <link>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22211#M15196</link>
      <description>&lt;P&gt;Hi @Lantis Pillay​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try to parse JSON records in the below way &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2022-06-10 at 6.09.03 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1925iA3F9B8F1B952D808/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-06-10 at 6.09.03 PM" alt="Screenshot 2022-06-10 at 6.09.03 PM" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 12:41:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/having-issues-with-extracting-records-from-complex-json/m-p/22211#M15196</guid>
      <dc:creator>User16753725469</dc:creator>
      <dc:date>2022-06-10T12:41:42Z</dc:date>
    </item>
  </channel>
</rss>

