Skip to content

Commit 364f5a7

Browse files
committed
use trait
1 parent d07cc1b commit 364f5a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/python/EvalPythonExec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import org.apache.spark.util.Utils
5757
* there should be always some rows buffered in the socket or Python process, so the pulling from
5858
* RowQueue ALWAYS happened after pushing into it.
5959
*/
60-
abstract class EvalPythonExec extends UnaryExecNode {
60+
trait EvalPythonExec extends UnaryExecNode {
6161
def udfs: Seq[PythonUDF]
6262
def resultAttrs: Seq[Attribute]
6363

sql/core/src/main/scala/org/apache/spark/sql/execution/window/WindowExecBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import org.apache.spark.sql.catalyst.expressions.aggregate.AggregateExpression
2626
import org.apache.spark.sql.execution.{SparkPlan, UnaryExecNode}
2727
import org.apache.spark.sql.types.{CalendarIntervalType, DateType, IntegerType, TimestampType}
2828

29-
abstract class WindowExecBase extends UnaryExecNode {
29+
trait WindowExecBase extends UnaryExecNode {
3030
def windowExpression: Seq[NamedExpression]
3131
def partitionSpec: Seq[Expression]
3232
def orderSpec: Seq[SortOrder]

0 commit comments

Comments
 (0)