Skip to content

Commit

Permalink
Remove MultiResult from check to also return procedure call results
Browse files Browse the repository at this point in the history
  • Loading branch information
miland-db committed Nov 26, 2024
1 parent b687e58 commit 7ec5040
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SqlScriptingExecution(
withErrorHandling {
val df = stmt.buildDataFrame(session)
df.logicalPlan match {
case _: CommandResult | _: MultiResult => // pass
case _: CommandResult => // pass
case _ => return Some(df) // If the statement is a result, return it to the caller.
}
}
Expand Down

0 comments on commit 7ec5040

Please sign in to comment.