[
https://issues.apache.org/jira/browse/SPARK-55584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-55584.
---------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54364
[https://github.com/apache/spark/pull/54364]
> EXECUTE IMMEDIATE returns internal error when passed a scalar subquery
> ----------------------------------------------------------------------
>
> Key: SPARK-55584
> URL: https://issues.apache.org/jira/browse/SPARK-55584
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 4.1.0
> Reporter: Serge Rielau
> Assignee: Serge Rielau
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> scala> spark.sql("execute immediate (select 'select 1')").show()
> org.apache.spark.SparkException: [INTERNAL_ERROR] Cannot evaluate expression:
> scalar-subquery#0 [] SQLSTATE: XX000
> at org.apache.spark.SparkException$.internalError(SparkException.scala:104)
> at org.apache.spark.SparkException$.internalError(SparkException.scala:108)
> at
> org.apache.spark.sql.errors.QueryExecutionErrors$.cannotEvaluateExpressionError(QueryExecutionErrors.scala:67)
> at
> org.apache.spark.sql.catalyst.expressions.Unevaluable.eval(Expression.scala:430)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]