cloud-fan commented on code in PR #41893:
URL: https://github.com/apache/spark/pull/41893#discussion_r1259058533
##########
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -1570,7 +1570,7 @@ class Dataset[T] private[sql](
* @since 2.0.0
*/
@scala.annotation.varargs
- def selectExpr(exprs: String*): DataFrame = sparkSession.withActive {
Review Comment:
That's a good point. It's not only about the parser, but also expression
instantiations.
@yaooqinn can you fix other DF APIs to wrap with `sparkSession.withActive`?
I believe there are more APIs that take a SQL string and parse it.
--
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]