wForget commented on code in PR #1430:
URL: https://github.com/apache/auron/pull/1430#discussion_r2427805957


##########
spark-extension/src/main/scala/org/apache/spark/sql/auron/NativeRDD.scala:
##########
@@ -68,6 +68,29 @@ class NativeRDD(
   }
 }
 
+class EmptyNativeRDD(@transient private val rddSparkContext: SparkContext)
+    extends NativeRDD(
+      rddSparkContext = rddSparkContext,
+      metrics = MetricNode(Map.empty, Seq(), None),
+      rddPartitions = Array.empty,
+      rddPartitioner = None,
+      rddDependencies = Seq.empty,
+      rddShuffleReadFull = false,
+      nativePlan = (_, _) => null,
+      friendlyName = "EmptyNativeRDD")
+    with Logging
+    with Serializable {
+
+  setName(friendlyName)

Review Comment:
   Why is setName called again here?



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