godfreyhe commented on a change in pull request #9363: 
[FLINK-13587][table-planner-blink] Fix some operator names are not set in blink 
planner
URL: https://github.com/apache/flink/pull/9363#discussion_r310893064
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/nodes/FlinkRelNode.scala
 ##########
 @@ -32,6 +34,18 @@ import scala.collection.JavaConversions._
   */
 trait FlinkRelNode extends RelNode {
 
+  /**
+    * Returns the display name of the RelNode. The display name are usually 
used to be displayed
+    * in log or Web UI.
+    */
+  def getDisplayName: String = {
+    val sw = new StringWriter
+    val pw = new PrintWriter(sw)
+    val relWriter = new RelDisplayNameWriterImpl(pw)
 
 Review comment:
   The `display name` is the concept of `Operator`, not `RelNode`.  
`OperatorNameGenerator` is better ?

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


With regards,
Apache Git Services

Reply via email to