davidm-db commented on code in PR #47423:
URL: https://github.com/apache/spark/pull/47423#discussion_r1713701280
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingExecutionNode.scala:
##########
@@ -45,7 +47,34 @@ sealed trait CompoundStatementExec extends Logging {
/**
* Leaf node in the execution tree.
*/
-trait LeafStatementExec extends CompoundStatementExec
+trait LeafStatementExec extends CompoundStatementExec {
+
+ /**
+ * Execute the statement.
+ * @param session Spark session.
+ */
+ def execute(session: SparkSession): Unit
+
+ /**
Review Comment:
nit: we can do these simple comments in one line - `/** comment */`. it's a
bit cleaner
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]