AngersZhuuuu opened a new pull request #26240: [SPARK-29530][SQL][branch-2.4] 
Make SQLConf in SQL parse process thread safe
URL: https://github.com/apache/spark/pull/26240
 
 
   ### What changes were proposed in this pull request?
   
   SparkSession.sql() method parse process not under current sparksession's 
conf, so some configuration about parser is not valid in multi-thread situation.
   
   In this pr, we add a SQLConf parameter to AbstractSqlParser and initial it 
with SessionState's conf.
   Then for each SparkSession's parser process. It will use's it's own 
SessionState's SQLConf and to be thread safe
   
   
   ### Why are the changes needed?
   Fix bug
   
   
   ### Does this PR introduce any user-facing change?
   NO
   
   
   ### How was this patch tested?
   NO
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to