incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tof...@apache.org
Subject svn commit: r1196867 - in /incubator/hcatalog/branches/branch-0.2: CHANGES.txt src/docs/src/documentation/content/xdocs/inputoutput.xml
Date Wed, 02 Nov 2011 23:36:56 GMT
Author: toffer
Date: Wed Nov  2 23:36:56 2011
New Revision: 1196867

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

Modified:
    incubator/hcatalog/branches/branch-0.2/CHANGES.txt
    incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/inputoutput.xml

Modified: incubator/hcatalog/branches/branch-0.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.2/CHANGES.txt?rev=1196867&r1=1196866&r2=1196867&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.2/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.2/CHANGES.txt Wed Nov  2 23:36:56 2011
@@ -77,6 +77,8 @@ Release 0.2.0 - Sept-2011
   OPTIMIZATIONS
 
   BUG FIXES
+    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-148. Meaningful error message on failure to resolve topic name for partition event
(thw via hashutosh)    

Modified: incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/inputoutput.xml
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/inputoutput.xml?rev=1196867&r1=1196866&r2=1196867&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/inputoutput.xml
(original)
+++ incubator/hcatalog/branches/branch-0.2/src/docs/src/documentation/content/xdocs/inputoutput.xml
Wed Nov  2 23:36:56 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>
 /**



Mime
View raw message