Skip to content

Commit

Permalink
Add new Execution suite
Browse files Browse the repository at this point in the history
  • Loading branch information
miland-db committed Nov 25, 2024
1 parent aa2047f commit 33c6f52
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sealed trait CompoundStatementExec extends Logging {
/**
* Whether the statement originates from the SQL statement that returns the result.
*/
val isResult: Boolean = false
def isResult: Boolean = false

/**
* Reset execution of the current node.
Expand Down Expand Up @@ -127,7 +127,7 @@ class SingleStatementExec(
*/
var isExecuted = false

override val isResult: Boolean = parsedPlan.isInstanceOf[Project]
override def isResult: Boolean = parsedPlan.isInstanceOf[Project] && !isExecuted

/**
* Get the SQL query text corresponding to this statement.
Expand Down
Loading

0 comments on commit 33c6f52

Please sign in to comment.