<?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: Drop array in a struct field in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65448#M32811</link>
    <description>&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;In fact, I need to change this field in the table structure ... so, I need to apply an 'alter table' to remove the 'med' array from the 'equip' field.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 20:26:34 GMT</pubDate>
    <dc:creator>William_Scardua</dc:creator>
    <dc:date>2024-04-03T20:26:34Z</dc:date>
    <item>
      <title>Drop array in a struct field</title>
      <link>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65339#M32787</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;look my table definition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-02 at 19.03.38.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6890iA0A5F77574BC054C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-04-02 at 19.03.38.png" alt="Screenshot 2024-04-02 at 19.03.38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;well, I need to remove 'med array' inside that 'equip' field.&lt;/P&gt;&lt;P&gt;have any idea ?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 22:06:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65339#M32787</guid>
      <dc:creator>William_Scardua</dc:creator>
      <dc:date>2024-04-02T22:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Drop array in a struct field</title>
      <link>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65358#M32789</link>
      <description>&lt;P&gt;Hi William,&lt;/P&gt;&lt;P&gt;There is array_remove method that can help to remove the elements from an array. Here med array is an element in equip array.&lt;/P&gt;&lt;P&gt;If it not helpful, please share some sample data so that we can solve it together.&lt;/P&gt;&lt;P&gt;Reference: &lt;A href="https://docs.databricks.com/en/sql/language-manual/functions/array_remove.html" target="_self"&gt;array_remove&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 03:30:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65358#M32789</guid>
      <dc:creator>Sampath_Kumar</dc:creator>
      <dc:date>2024-04-03T03:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Drop array in a struct field</title>
      <link>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65448#M32811</link>
      <description>&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;In fact, I need to change this field in the table structure ... so, I need to apply an 'alter table' to remove the 'med' array from the 'equip' field.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 20:26:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/drop-array-in-a-struct-field/m-p/65448#M32811</guid>
      <dc:creator>William_Scardua</dc:creator>
      <dc:date>2024-04-03T20:26:34Z</dc:date>
    </item>
  </channel>
</rss>

