tedyu commented on code in PR #9904:
URL: https://github.com/apache/gravitino/pull/9904#discussion_r2801453984


##########
maintenance/optimizer/src/main/java/org/apache/gravitino/maintenance/optimizer/recommender/Recommender.java:
##########
@@ -302,4 +327,23 @@ private SupportTableStatistics 
requireTableStatisticsProvider() {
                 + "configure a statistics provider that implements 
SupportTableStatistics.",
             statisticsProvider.name()));
   }
+
+  private void logRecommendation(String strategyName, StrategyEvaluation 
evaluation) {
+    JobExecutionContext jobExecutionContext =
+        evaluation
+            .jobExecutionContext()
+            .orElseThrow(
+                () ->
+                    new IllegalStateException(
+                        "Job execution context is missing for evaluation of 
strategy "
+                            + strategyName));
+    System.out.println(

Review Comment:
   shouldn't the `LOG` be used for the logging ?



-- 
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]

Reply via email to