aglinxinyuan commented on code in PR #4342:
URL: https://github.com/apache/texera/pull/4342#discussion_r3067310470
##########
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/visualization/bubbleChart/BubbleChartOpDesc.scala:
##########
@@ -85,12 +85,10 @@ class BubbleChartOpDesc extends PythonOperatorDescriptor {
}
override def operatorInfo: OperatorInfo =
- OperatorInfo(
+ OperatorInfo.forVisualization(
"Bubble Chart",
"a 3D Scatter Plot; Bubbles are graphed using x and y labels, and their
sizes determined by a z-value.",
- OperatorGroupConstants.VISUALIZATION_BASIC_GROUP,
- inputPorts = List(InputPort()),
- outputPorts = List(OutputPort(mode = OutputMode.SINGLE_SNAPSHOT))
Review Comment:
It's just a refactor. The input port and the output port is still the same.
The duplicate port definition is moved to the parent class.
--
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]