[ 
https://issues.apache.org/jira/browse/AMBARI-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153760#comment-15153760
 ] 

Nitiraj Singh Rathore commented on AMBARI-15046:
------------------------------------------------

JSON Format supported : 
Input json file should contain an array of json objects.
example : 
[ 
{ "col1Name" : "value-1-1", "col2Name" : "value-1-2"}
,
{ "col1Name" : "value-2-1", "col2Name" : "value-2-2"}
]
XML format supported : 
<table> 
<row> 
<col name="col1Name">row1-col1-Data</col> 
<col name="col2Name">row1-col2-Data</col> 
<col name="col3Name">row1-col3-Data</col> 
<col name="col4Name">row1-col4-Data</col> 
</row> 
<row> 
<col name="col1Name">row2-col1-Data</col> 
<col name="col2Name">row2-col2-Data</col> 
<col name="col3Name">row2-col3-Data</col> 
<col name="col4Name">row2-col4-Data</col> 
</row> 
</table>


> Hive View: Upload table should support XML and JSON and storage type ORC
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-15046
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15046
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.2.0
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15046_branch-2.2.patch
>
>
> Hive View should add support to the file upload feature for the following:
> Create table using JSON/XML/CSV format
> File source can be local upload or HDFS
> Internal Hive storage type of ORC and others should be supported, with ORC as 
> default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to