pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roh...@apache.org
Subject svn commit: r1740891 - in /pig/trunk: CHANGES.txt src/org/apache/pig/scripting/js/JsFunction.java
Date Mon, 25 Apr 2016 20:21:47 GMT
Author: rohini
Date: Mon Apr 25 20:21:47 2016
New Revision: 1740891

URL: http://svn.apache.org/viewvc?rev=1740891&view=rev
Log:
PIG-4641: Print the instance of Object without using toString() (sandyridgeracer via rohini)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/scripting/js/JsFunction.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1740891&r1=1740890&r2=1740891&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Mon Apr 25 20:21:47 2016
@@ -24,6 +24,8 @@ INCOMPATIBLE CHANGES
 
 IMPROVEMENTS
 
+PIG-4641: Print the instance of Object without using toString() (sandyridgeracer via rohini)
+
 PIG-4455: Should use DependencyOrderWalker instead of DepthFirstWalker in MRPrinter (zjffdu
via rohini)
 
 PIG-4866: Do not serialize PigContext in configuration to the backend (rohini)

Modified: pig/trunk/src/org/apache/pig/scripting/js/JsFunction.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/scripting/js/JsFunction.java?rev=1740891&r1=1740890&r2=1740891&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/scripting/js/JsFunction.java (original)
+++ pig/trunk/src/org/apache/pig/scripting/js/JsFunction.java Mon Apr 25 20:21:47 2016
@@ -95,7 +95,7 @@ public class JsFunction extends EvalFunc
 
     private void debugConvertPigToJS(int depth, String pigType, Object value, Schema schema)
{
         if (LOG.isDebugEnabled()) {
-            LOG.debug(indent(depth)+"converting from Pig " + pigType + " " + value + " using
" + stringify(schema));
+            LOG.debug(indent(depth)+"converting from Pig " + pigType + " " + toString(value)
+ " using " + stringify(schema));
         }
     }
 



Mime
View raw message