cloud-fan commented on code in PR #41476:
URL: https://github.com/apache/spark/pull/41476#discussion_r1234930632
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala:
##########
@@ -673,9 +673,11 @@ trait CheckAnalysis extends PredicateHelper with
LookupCatalog with QueryErrorsB
}
case p @ Project(exprs, _) if containsMultipleGenerators(exprs) =>
- p.failAnalysis(
- errorClass = "_LEGACY_ERROR_TEMP_2433",
- messageParameters = Map("sqlExprs" ->
exprs.map(_.sql).mkString(",")))
+ throw SparkException.internalError(
+ msg = "Only a single table generating function is allowed in a
SELECT clause, " +
Review Comment:
is this really internal? does the analyzer split `select explode(...),
explode(...) ...` into two Projects?
--
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]