You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ga...@apache.org on 2008/08/27 02:15:46 UTC

svn commit: r689293 - /incubator/pig/branches/types/src/org/apache/pig/PigServer.java

Author: gates
Date: Tue Aug 26 17:15:45 2008
New Revision: 689293

URL: http://svn.apache.org/viewvc?rev=689293&view=rev
Log:
PIG-383 Added relation name to describe output.


Modified:
    incubator/pig/branches/types/src/org/apache/pig/PigServer.java

Modified: incubator/pig/branches/types/src/org/apache/pig/PigServer.java
URL: http://svn.apache.org/viewvc/incubator/pig/branches/types/src/org/apache/pig/PigServer.java?rev=689293&r1=689292&r2=689293&view=diff
==============================================================================
--- incubator/pig/branches/types/src/org/apache/pig/PigServer.java (original)
+++ incubator/pig/branches/types/src/org/apache/pig/PigServer.java Tue Aug 26 17:15:45 2008
@@ -287,7 +287,7 @@
                 throw new FrontendException(e.getMessage());
             }
             Schema schema = lp.getLeaves().get(0).getSchema();
-            if (schema != null) System.out.println(schema.toString());    
+            if (schema != null) System.out.println(alias + ": " + schema.toString());    
             else System.out.println("Schema for " + alias + " unknown.");
         } catch (FrontendException fe) {
             throw WrappedIOException.wrap(