You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "sharmaplkt (via GitHub)" <gi...@apache.org> on 2023/06/12 06:02:31 UTC

[GitHub] [spark] sharmaplkt commented on a diff in pull request #41457: Session Configs were not getting honored in RDDs

sharmaplkt commented on code in PR #41457:
URL: https://github.com/apache/spark/pull/41457#discussion_r1226126287


##########
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -3898,11 +3898,26 @@ class Dataset[T] private[sql](
    */
   lazy val rdd: RDD[T] = {
     val objectType = exprEnc.deserializer.dataType
+    populateLocalPropertiesInSparkContext(rddQueryExecution.sparkSession)

Review Comment:
   This particular scenario fails only if action is performed after creating an rdd. And in case of SQLExecutionRDD also localProperties are not getting populated. 



-- 
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-unsubscribe@spark.apache.org

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


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