HyukjinKwon commented on code in PR #48856:
URL: https://github.com/apache/spark/pull/48856#discussion_r1844745641


##########
python/pyspark/sql/connect/session.py:
##########
@@ -706,9 +724,9 @@ def createDataFrame(
         else:
             local_relation = LocalRelation(_table)
 
-        cache_threshold = 
self._client.get_configs("spark.sql.session.localRelationCacheThreshold")
+        cache_threshold = 
conf_getter["spark.sql.session.localRelationCacheThreshold"]

Review Comment:
   Shall we just get all the confs in batch eagerly? Seems like we should get 
the conf once anyway.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to