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

Corinne Chandel commented on HCATALOG-150:
------------------------------------------


Sorry, not sure what you mean by the word NECESSARILY ...

Do you mean you MUST to call this method?

---------------

The schema for the data being written out is specified by the setSchema method. 
You need to NECESSARILY call this method providing the schema of data you are 
writing. If your data has same schema as table schema, you can use 
HCatOutputFormat.getTableSchema() to get the table schema and then pass that 
along to setSchema().
                
> Fix documentation for HCatOutputFormat about need to call setSchema()
> ---------------------------------------------------------------------
>
>                 Key: HCATALOG-150
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-150
>             Project: HCatalog
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 0.2, 0.3
>            Reporter: Ashutosh Chauhan
>            Assignee: Corinne Chandel
>             Fix For: 0.2
>
>
> Currently, documentation says setSchema() call is not required and assumes 
> table schema which is incorrect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to