We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6752ff2 commit 90045cfCopy full SHA for 90045cf
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala
@@ -122,9 +122,9 @@ object SQLExecution extends Logging {
122
// To avoid this warning, use nested { ... }
123
if (!Option(sc.getLocalProperty(ALLOW_NESTED_EXECUTION)).exists(_.toBoolean)) {
124
if (testing) {
125
- logWarning(s"$EXECUTION_ID_KEY is already set")
126
- } else {
127
throw new IllegalArgumentException(s"$EXECUTION_ID_KEY is already set")
+ } else {
+ logWarning(s"$EXECUTION_ID_KEY is already set")
128
}
129
130
body
0 commit comments