dongjoon-hyun commented on a change in pull request #24800: [SPARK-27947][SQL]
ParsedStatement subclass toString may throw ClassCastException
URL: https://github.com/apache/spark/pull/24800#discussion_r291823723
##########
File path: core/src/main/scala/org/apache/spark/util/Utils.scala
##########
@@ -2596,7 +2596,7 @@ private[spark] object Utils extends Logging {
* Redact the sensitive values in the given map. If a map key matches the
redaction pattern then
* its value is replaced with a dummy text.
*/
- def redact(regex: Option[Regex], kvs: Seq[(String, String)]): Seq[(String,
String)] = {
+ def redact[K, V](regex: Option[Regex], kvs: Seq[(K, V)]): Seq[(K, V)] = {
Review comment:
@jzhuge . Please update the PR title with this main change.
----------------------------------------------------------------
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]