suhuruli commented on PR #60579:
URL: https://github.com/apache/spark/pull/60579#issuecomment-6940270659

   Thanks for the review. I answered each of the five findings on its own 
thread and pushed the changes to this branch. The skip predicate now reuses 
`RuntimeConfig.requireNonStaticConf` through `Try`, so 
`spark.default.parallelism` and, with 
`spark.sql.legacy.setCommandRejectsSparkCoreConfs` false, core keys are applied 
again (`SparkSessionUtils.scala`; tests "SPARK-61825: core confs are applied 
when the session does not reject them" and "SPARK-61825: 
spark.default.parallelism is applied and restored"). The warning value goes 
through the session's `redactOptions` (test "SPARK-61825: the skip warning 
redacts a sensitive requested value", plus one checking a non-sensitive value 
is still shown). `spark.sql.warehouse.dir` is qualified with 
`SharedState.qualifyWarehousePath` before comparing (tests "SPARK-61825: no 
skip warning for another spelling of the session's warehouse directory" and 
"SPARK-61825: a skip warning for a warehouse directory that differs from the 
session's"). The Scala
 doc, the five `spark_conf` descriptions in `python/pyspark/pipelines/api.py` 
and the `spark_conf` row of the programming guide now say that static SQL 
configurations and, by default, Spark core configurations in pipeline or flow 
settings are ignored with a driver warning and must be set at session creation. 
And `SparkSessionUtilsSuite` captures the helper's log with `withLogAppender` 
and asserts exactly when the warning is logged ("SPARK-61825: a skip warning 
names the key only when the requested value differs"). Nothing from this review 
is left open in this round.


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