<?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: Error when trying to load Nested JSON file using Ambari &amp;gt; Hive View&amp;gt; Upload Table  :E090 Row data cannot have an array. [IllegalArgumentException] in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122921#M51251</link>
    <description>&lt;P&gt;It is confirmed that nested objects are not supported in JSON via Upload Table function.&lt;/P&gt;&lt;P&gt;Here is an excerpt from &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/upload_table.html"&gt;official documentation&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The following json format is supported: [ { "col1Name" : "value-1-1", "col2Name" : "value-1-2"}, { "col1Name" : "value-2-1", "col2Name" : "value-2-2"}]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The file should contain a valid json array containing any number of json objects. Each json object should contain column names as property and column values as property values. The names, number and order of columns in the table are decided from the first object of the json file. The names and datatype of column can be edited during the preview step. If some json objects have extra properties then they are ignored. If they do not have some of the properties then null values are assumed. Note that extension of files cannot be “.json”&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2017 06:00:11 GMT</pubDate>
    <dc:creator>dineshc</dc:creator>
    <dc:date>2017-01-13T06:00:11Z</dc:date>
    <item>
      <title>Error when trying to load Nested JSON file using Ambari &gt; Hive View&gt; Upload Table  :E090 Row data cannot have an array. [IllegalArgumentException]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122919#M51249</link>
      <description>&lt;P&gt;When I try to upload a simple JSON using Upload Table in Ambari&amp;gt;Hive View I am able to do it.&lt;/P&gt;&lt;P&gt;When I try to upload a nested JSON ( containing one or more different arrays ), I get "E090 Row data cannot have an array. [IllegalArgumentException]."&lt;/P&gt;&lt;P&gt;I am beginning to wonder if Upload Table supports loading complex nested JSON.&lt;/P&gt;&lt;P&gt;Attached &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11311-complex.txt"&gt;complex.txt&lt;/A&gt; file that I am trying to load. Please rename it to .json if you want to replicate the issue.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 00:22:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122919#M51249</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-01-11T00:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to load Nested JSON file using Ambari &gt; Hive View&gt; Upload Table  :E090 Row data cannot have an array. [IllegalArgumentException]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122920#M51250</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/139/pardeepkumar.html" nodeid="139"&gt;@Pardeep&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/11766/vsithannan.html" nodeid="11766"&gt;@vsithannan&lt;/A&gt; - Appreciate any inputs from you guys. I have tried to find the answer on multiple forums to no avail and I am finally posting it here.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 00:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122920#M51250</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-01-11T00:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to load Nested JSON file using Ambari &gt; Hive View&gt; Upload Table  :E090 Row data cannot have an array. [IllegalArgumentException]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122921#M51251</link>
      <description>&lt;P&gt;It is confirmed that nested objects are not supported in JSON via Upload Table function.&lt;/P&gt;&lt;P&gt;Here is an excerpt from &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/upload_table.html"&gt;official documentation&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The following json format is supported: [ { "col1Name" : "value-1-1", "col2Name" : "value-1-2"}, { "col1Name" : "value-2-1", "col2Name" : "value-2-2"}]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The file should contain a valid json array containing any number of json objects. Each json object should contain column names as property and column values as property values. The names, number and order of columns in the table are decided from the first object of the json file. The names and datatype of column can be edited during the preview step. If some json objects have extra properties then they are ignored. If they do not have some of the properties then null values are assumed. Note that extension of files cannot be “.json”&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 06:00:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-trying-to-load-Nested-JSON-file-using-Ambari-gt/m-p/122921#M51251</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-01-13T06:00:11Z</dc:date>
    </item>
  </channel>
</rss>

