leanken commented on a change in pull request #30042:
URL: https://github.com/apache/spark/pull/30042#discussion_r505371784



##########
File path: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
##########
@@ -984,7 +984,16 @@ object SparkSession extends Logging {
    *
    * @since 2.0.0
    */
+  @deprecated("This method is deprecated and will be removed in future 
versions.", "3.1.0")

Review comment:
       unlike other deprecated API, this API does not have a better "Option"; 
we kind of hoping that user not touch these API at all. I will consider putting 
the legacy config in the error message as a hint in case user really really 
need these two API.




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

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