<?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 Online tables schema only contains string (varchar) columns in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107089#M3918</link>
    <description>&lt;P&gt;I created an online table for feature serving based on an existing delta table (used as the source table).&lt;/P&gt;&lt;P&gt;This source table contains a struct column and an array column, but when the online table is created, those two columns show up as strings columns (or varchar columns).&lt;/P&gt;&lt;P&gt;Is this the default behavior of an online table?&lt;/P&gt;&lt;P&gt;I don't understand why the online table doesn't match its source table from which it was created/synced.&lt;/P&gt;&lt;P&gt;Side note: (Image attached) I noticed that the data source type shown for the online table is MySql. I would have expected this to be a Delta source&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jan 2025 22:19:54 GMT</pubDate>
    <dc:creator>obitech01</dc:creator>
    <dc:date>2025-01-26T22:19:54Z</dc:date>
    <item>
      <title>Online tables schema only contains string (varchar) columns</title>
      <link>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107089#M3918</link>
      <description>&lt;P&gt;I created an online table for feature serving based on an existing delta table (used as the source table).&lt;/P&gt;&lt;P&gt;This source table contains a struct column and an array column, but when the online table is created, those two columns show up as strings columns (or varchar columns).&lt;/P&gt;&lt;P&gt;Is this the default behavior of an online table?&lt;/P&gt;&lt;P&gt;I don't understand why the online table doesn't match its source table from which it was created/synced.&lt;/P&gt;&lt;P&gt;Side note: (Image attached) I noticed that the data source type shown for the online table is MySql. I would have expected this to be a Delta source&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2025 22:19:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107089#M3918</guid>
      <dc:creator>obitech01</dc:creator>
      <dc:date>2025-01-26T22:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Online tables schema only contains string (varchar) columns</title>
      <link>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107093#M3919</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146076"&gt;@obitech01&lt;/a&gt;,&lt;/P&gt;
&lt;P class="p1"&gt;The behavior you are observing with the struct and array columns being converted to string (or varchar) columns in the online table is indeed the default behavior. An online table is a read-only copy of a Delta Table that is stored in row-oriented format optimized for online access. Those complex data types like struct and array are not preserved in their original form but are instead converted to string types&lt;/P&gt;
&lt;P class="p1"&gt;Additionally, the data source type for online tables is MySQL, so it shows MySQL instead of Delta&lt;/P&gt;
&lt;P class="p1"&gt;&lt;A href="https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html" target="_blank"&gt;https://docs.databricks.com/en/machine-learning/feature-store/online-tables.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 00:30:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107093#M3919</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-27T00:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Online tables schema only contains string (varchar) columns</title>
      <link>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107094#M3920</link>
      <description>&lt;P&gt;Makes sense. Thanks for the clarification, this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 01:06:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/online-tables-schema-only-contains-string-varchar-columns/m-p/107094#M3920</guid>
      <dc:creator>obitech01</dc:creator>
      <dc:date>2025-01-27T01:06:01Z</dc:date>
    </item>
  </channel>
</rss>

