vdiravka commented on a change in pull request #1455: DRILL-6724: Dump operator context to logs when error occurs during query execution URL: https://github.com/apache/drill/pull/1455#discussion_r217893947
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/HashAggTemplate.java ########## @@ -1603,6 +1603,26 @@ private void updateStats(HashTable[] htables) { } } + @Override + public String toString() { + return "HashAggTemplate[numPartitions=" + numPartitions Review comment: Consider using of `ToStringBuilder` from `commons-lang3` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services