Repository: hive
Updated Branches:
  refs/heads/master 803717bc7 -> e5baa7617


HIVE-15293 : add toString to OpTraits (Sergey Shelukhin, reviewed by Ashutosh 
Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e5baa761
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e5baa761
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e5baa761

Branch: refs/heads/master
Commit: e5baa7617649af28b72f0858e664bcc69a25f9b5
Parents: 803717b
Author: Sergey Shelukhin <ser...@apache.org>
Authored: Thu Dec 1 11:45:50 2016 -0800
Committer: Sergey Shelukhin <ser...@apache.org>
Committed: Thu Dec 1 11:45:50 2016 -0800

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/e5baa761/ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java 
b/ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java
index c2b3664..1c76586 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/OpTraits.java
@@ -55,4 +55,10 @@ public class OpTraits {
   public List<List<String>> getSortCols() {
     return sortColNames;
   }
+  
+  @Override
+  public String toString() {
+    return "{ bucket column names: " + bucketColNames + "; sort column names: "
+        + sortColNames + "; bucket count: " + numBuckets + " }";
+  }
 }

Reply via email to