arina-ielchiieva commented on a change in pull request #1957: DRILL-7530: Fix 
class names in loggers
URL: https://github.com/apache/drill/pull/1957#discussion_r368505281
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/DrillRelOptUtil.java
 ##########
 @@ -603,7 +606,7 @@ public static boolean guessRows(RelNode rel) {
             || (tableMetadata = table.getGroupScan().getTableMetadata()) == 
null
             || 
!TableStatisticsKind.HAS_DESCRIPTIVE_STATISTICS.getValue(tableMetadata);
       } catch (IOException e) {
-        RelOptPlanner.LOGGER.debug("Unable to obtain table metadata due to 
exception:", e);
+        logger.debug("Unable to obtain table metadata due to exception: {}", 
e.getMessage(), e);
 
 Review comment:
   @vvysotskyi is this change ok? Or `RelOptPlanner` was used intensionally?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to