zml1206 commented on code in PR #41893:
URL: https://github.com/apache/spark/pull/41893#discussion_r1259095033


##########
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:
   `spark.sql("select '2023-01-01' as dt").select(expr("dt + INTERVAL 1 YEAR as 
dt1"))`, `expr`  use the active SQLConf, should it be modified?
     



-- 
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]

Reply via email to