HyukjinKwon commented on a change in pull request #27092: [SPARK-30416][SQL]
Log a warning for deprecated SQL config in `set()` and `unset()`
URL: https://github.com/apache/spark/pull/27092#discussion_r364195748
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -708,7 +709,7 @@ object SQLConf {
val HIVE_VERIFY_PARTITION_PATH =
buildConf("spark.sql.hive.verifyPartitionPath")
.doc("When true, check all the partition paths under the table\'s root
directory " +
"when reading data stored in HDFS. This configuration will be
deprecated in the future " +
- "releases and replaced by spark.files.ignoreMissingFiles.")
+ s"releases and replaced by ${SPARK_IGNORE_MISSING_FILES.key}.")
Review comment:
We can just slightly reword that users can use
`spark.files.ignoreMissingFiles` instead of saying it's a replacement if you're
concerned. I don't believe this configuration is commonly used enough, and it
should be fine.
If users find this is unreasonable, we can un-deprecate it later given the
feedback.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]