belugabehr commented on a change in pull request #2861:
URL: https://github.com/apache/hive/pull/2861#discussion_r767367650



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveRecordReader.java
##########
@@ -113,7 +113,9 @@ private PartitionDesc 
extractSinglePartSpec(CombineHiveInputSplit hsplit) throws
     for (Path path : hsplit.getPaths()) {
       PartitionDesc otherPart = HiveFileFormatUtils.getFromPathRecursively(
           pathToPartInfo, path, cache);
-      LOG.debug("Found spec for " + path + " " + otherPart + " from " + 
pathToPartInfo);
+      if (LOG.isDebugEnabled()) {

Review comment:
       I spent a lot of time trying to scrub this behavior from the code.  
Please do not include the logging guards and just use the anchors `{}`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to