You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2011/05/24 02:10:44 UTC

svn commit: r1126813 - in /pig/branches/branch-0.9: CHANGES.txt src/org/apache/pig/ResourceSchema.java

Author: daijy
Date: Tue May 24 00:10:43 2011
New Revision: 1126813

URL: http://svn.apache.org/viewvc?rev=1126813&view=rev
Log:
PIG-2089: Javadoc for ResourceFieldSchema.getSchema() is wrong

Modified:
    pig/branches/branch-0.9/CHANGES.txt
    pig/branches/branch-0.9/src/org/apache/pig/ResourceSchema.java

Modified: pig/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/CHANGES.txt?rev=1126813&r1=1126812&r2=1126813&view=diff
==============================================================================
--- pig/branches/branch-0.9/CHANGES.txt (original)
+++ pig/branches/branch-0.9/CHANGES.txt Tue May 24 00:10:43 2011
@@ -184,6 +184,8 @@ PIG-1696: Performance: Use System.arrayc
 
 BUG FIXES
 
+PIG-2089: Javadoc for ResourceFieldSchema.getSchema() is wrong (daijy)
+
 PIG-2084: pig is running validation for a statement at a time batch mode,
  instead of running it for whole script (thejas)
 

Modified: pig/branches/branch-0.9/src/org/apache/pig/ResourceSchema.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/src/org/apache/pig/ResourceSchema.java?rev=1126813&r1=1126812&r2=1126813&view=diff
==============================================================================
--- pig/branches/branch-0.9/src/org/apache/pig/ResourceSchema.java (original)
+++ pig/branches/branch-0.9/src/org/apache/pig/ResourceSchema.java Tue May 24 00:10:43 2011
@@ -176,7 +176,7 @@ public class ResourceSchema implements S
         }
 
         /**
-         * Get the schema for this field.  Only fields of type tuple should have a schema.
+         * Get the schema for this field. Type tuple/bag/map may have a schema.
          * @return schema
          */
         public ResourceSchema getSchema() {
@@ -184,7 +184,7 @@ public class ResourceSchema implements S
         }
 
         /**
-         * Set the schema for this field.  Only fields of type tuple should have a schema.
+         * Set the schema for this field. Type tuple/bag/map may have a schema.
          * @param schema new schema
          * @return this
          */