File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ case class InsertIntoTable(
137137 }
138138}
139139
140- trait CreateTableAsSelect extends UnaryNode {
140+ abstract class CreateTableAsSelect extends UnaryCommand {
141141 self : Product =>
142142 def databaseName : Option [String ]
143143 def tableName : String
Original file line number Diff line number Diff line change @@ -27,3 +27,11 @@ abstract class Command extends LeafNode {
2727 self : Product =>
2828 def output : Seq [Attribute ] = Seq .empty
2929}
30+
31+ /**
32+ * An UnaryNode that represents a non-query command to be executed by the system.
33+ */
34+ abstract class UnaryCommand extends UnaryNode {
35+ self : Product =>
36+ def output : Seq [Attribute ] = Seq .empty
37+ }
You can’t perform that action at this time.
0 commit comments