<?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 Too long hive type string in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12804#M7566</link>
    <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with a column that is an array of a struct that has a &lt;B&gt;very very long schema&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;When the table is written, all works well. Though, when I create a view based on this table and I try to access the view I get the error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rg.apache.spark.SparkException: Cannot recognize hive type string: array&amp;lt;struct&amp;lt;hitNumber:bigint....,latencyTracking:struct&amp;lt;pageLoadSample:bigint,pageLoadTime:bigint,pageDownloadTime:bigin, column: hits, db: test, table: test&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;as you see the actual schema has been truncated at the end, before the column name comes.&lt;/P&gt;&lt;P&gt;The question is: is there a configuration on the size of the hive type string I could play with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 12:09:45 GMT</pubDate>
    <dc:creator>pantelis_mare</dc:creator>
    <dc:date>2022-07-22T12:09:45Z</dc:date>
    <item>
      <title>Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12804#M7566</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with a column that is an array of a struct that has a &lt;B&gt;very very long schema&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;When the table is written, all works well. Though, when I create a view based on this table and I try to access the view I get the error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rg.apache.spark.SparkException: Cannot recognize hive type string: array&amp;lt;struct&amp;lt;hitNumber:bigint....,latencyTracking:struct&amp;lt;pageLoadSample:bigint,pageLoadTime:bigint,pageDownloadTime:bigin, column: hits, db: test, table: test&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;as you see the actual schema has been truncated at the end, before the column name comes.&lt;/P&gt;&lt;P&gt;The question is: is there a configuration on the size of the hive type string I could play with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 12:09:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12804#M7566</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-07-22T12:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12805#M7567</link>
      <description>&lt;P&gt;what version of hive metastore do you use?  Because there are issues with large metadata in metastore versions &amp;lt; 2.3.0&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 07:38:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12805#M7567</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-07-25T07:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12806#M7568</link>
      <description>&lt;P&gt;Hello @Werner Stinckens​&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see your point. Just checked and we are still in 0.13.0 (default one)&lt;/P&gt;&lt;P&gt;Is there any official documentation from #[Azure databricks]​&amp;nbsp;on how to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related to &lt;A href="https://community.databricks.com/s/question/0D53f00001HKHy2CAH/how-to-upgrade-internal-hive-metadata-store-version" alt="https://community.databricks.com/s/question/0D53f00001HKHy2CAH/how-to-upgrade-internal-hive-metadata-store-version" target="_blank"&gt;this&lt;/A&gt;, but not solved yet&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 12:11:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12806#M7568</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-07-25T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12807#M7569</link>
      <description>&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/databricks/data/metastores/external-hive-metastore" alt="https://docs.microsoft.com/en-us/azure/databricks/data/metastores/external-hive-metastore" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/data/metastores/external-hive-metastore&lt;/A&gt;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;That's the only doc I know about.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 12:50:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12807#M7569</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2022-07-25T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12808#M7570</link>
      <description>&lt;P&gt;Thanks a lot @Werner Stinckens​&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I also came across this kind of documentation.. The question is whether you can upgrade your current internal metastore, and nothing about that unfortunately &lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 07:08:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12808#M7570</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-07-26T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12809#M7571</link>
      <description>&lt;P&gt;@Pantelis Maroudis​&amp;nbsp;, were you able to solve this issue? Please advise if you got any tip. Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:45:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12809#M7571</guid>
      <dc:creator>Afzal</dc:creator>
      <dc:date>2022-08-22T18:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Too long hive type string</title>
      <link>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12810#M7572</link>
      <description>&lt;P&gt;Hello Afzal, &lt;/P&gt;&lt;P&gt;Unfortunately no &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; We have not been able to create a view on this table.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 16:17:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/too-long-hive-type-string/m-p/12810#M7572</guid>
      <dc:creator>pantelis_mare</dc:creator>
      <dc:date>2022-09-13T16:17:53Z</dc:date>
    </item>
  </channel>
</rss>

