godfreyhe commented on a change in pull request #15559:
URL: https://github.com/apache/flink/pull/15559#discussion_r613803148



##########
File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/utils/RelExplainUtil.scala
##########
@@ -858,4 +859,28 @@ object RelExplainUtil {
       case (k, v) => s"$k = (${v.mkString(", ")})"
     }.mkString(", ")
 
+  /**
+   * Converts [[RelHint]]s to String.
+   */
+  def hintsToString(hints: util.List[RelHint]): String = {

Review comment:
       The difference between the result of this method and `hints.toString()` 
is we ignore the `inheritPath` if it's empty in this method. Because most case, 
the inheritPath is empty, and the result of this method is much simpler.




-- 
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:
[email protected]


Reply via email to