<?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>question Re: Comments not available for Hive struct type. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Comments-not-available-for-Hive-struct-type/m-p/354257#M236883</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100928"&gt;@sseoju&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You may get the required information in Impala as shown below:&lt;/P&gt;&lt;PRE&gt;[node1:21000] default&amp;gt; CREATE EXTERNAL TABLE IF NOT EXISTS test_table&lt;BR /&gt;&amp;gt; (&lt;BR /&gt;&amp;gt; `id` string comment 'id',&lt;BR /&gt;&amp;gt; `name` string comment 'name',&lt;BR /&gt;&amp;gt; `area` struct&amp;lt;`country`: string comment "test country", `address`:string comment 'test address'&amp;gt; comment 'test struct'&lt;BR /&gt;&amp;gt; );&lt;BR /&gt;Query: CREATE EXTERNAL TABLE IF NOT EXISTS test_table&lt;BR /&gt;(&lt;BR /&gt;`id` string comment 'id',&lt;BR /&gt;`name` string comment 'name',&lt;BR /&gt;`area` struct&amp;lt;`country`: string comment "test country", `address`:string comment 'test address'&amp;gt; comment 'test struct'&lt;BR /&gt;)&lt;BR /&gt;+-------------------------+&lt;BR /&gt;| summary |&lt;BR /&gt;+-------------------------+&lt;BR /&gt;| Table has been created. |&lt;BR /&gt;+-------------------------+&lt;BR /&gt;Fetched 1 row(s) in 0.26s&lt;BR /&gt;[node1:21000] default&amp;gt; desc test_table;&lt;BR /&gt;Query: describe test_table&lt;BR /&gt;+------+------------------------------------------+-------------+&lt;BR /&gt;| name | type | comment |&lt;BR /&gt;+------+------------------------------------------+-------------+&lt;BR /&gt;| id | string | id |&lt;BR /&gt;| name | string | name |&lt;BR /&gt;| area | struct&amp;lt; | test struct |&lt;BR /&gt;| | country:string comment 'test country', | |&lt;BR /&gt;| | address:string comment 'test address' | |&lt;BR /&gt;| | &amp;gt; | |&lt;BR /&gt;+------+------------------------------------------+-------------+&lt;BR /&gt;Fetched 3 row(s) in 0.28s&lt;/PRE&gt;&lt;P&gt;This is also mentioned here&amp;nbsp;&lt;A href="https://impala.apache.org/docs/build/html/topics/impala_describe.html" target="_blank"&gt;https://impala.apache.org/docs/build/html/topics/impala_describe.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 12:11:36 GMT</pubDate>
    <dc:creator>tj2007</dc:creator>
    <dc:date>2022-10-07T12:11:36Z</dc:date>
  </channel>
</rss>

