Author: toffer
Date: Wed Nov  2 23:32:22 2011
New Revision: 1196861

URL: http://svn.apache.org/viewvc?rev=1196861&view=rev
Log:
HCATALOG-150 Updated documentation specifying the need to call 
HCatOutputFormat.setSchema() (chandec via toffer)

Modified:
    incubator/hcatalog/trunk/CHANGES.txt
    
incubator/hcatalog/trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml

Modified: incubator/hcatalog/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1196861&r1=1196860&r2=1196861&view=diff
==============================================================================
--- incubator/hcatalog/trunk/CHANGES.txt (original)
+++ incubator/hcatalog/trunk/CHANGES.txt Wed Nov  2 23:32:22 2011
@@ -110,6 +110,8 @@ Release 0.2.0 - Unreleased
     (Krishna Kumar via macyang)
     
   IMPROVEMENTS
+    HCAT-150. Updated documentation specifying the need to call 
HCatOutputFormat.setSchema() (chandec via toffer)
+
     HCAT-107. Better documentation for "hive.metastore.warehouse.dir" config 
(chandec via toffer) 
 
     HCAT-66. HCatalog 0.2.0 Documentation (chandec via hashutosh)

Modified: 
incubator/hcatalog/trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml?rev=1196861&r1=1196860&r2=1196861&view=diff
==============================================================================
--- 
incubator/hcatalog/trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml
 (original)
+++ 
incubator/hcatalog/trunk/src/docs/src/documentation/content/xdocs/inputoutput.xml
 Wed Nov  2 23:32:22 2011
@@ -98,7 +98,7 @@
 <section>
        <title>API</title>
        <p>The API exposed by HCatOutputFormat is shown below.</p>
-       <p>The first call on the HCatOutputFormat must be 
<code>setOutput</code>; any other call will throw an exception saying the 
output format is not initialized. The schema for the data being written out is 
specified by the <code>setSchema </code> method. If this is not called on the 
HCatOutputFormat, then by default it is assumed that the the partition has the 
same schema as the current table level schema. </p>
+       <p>The first call on the HCatOutputFormat must be 
<code>setOutput</code>; any other call will throw an exception saying the 
output format is not initialized. The schema for the data being written out is 
specified by the <code>setSchema </code> method. You must 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(). </p>
        
 <source>
 /**


Reply via email to