pan3793 commented on code in PR #5399:
URL: https://github.com/apache/kyuubi/pull/5399#discussion_r1354278954
##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/SparkRangerAdminPlugin.scala:
##########
@@ -109,8 +109,6 @@ object SparkRangerAdminPlugin extends
RangerBasePlugin("spark", "sparkSql")
} else if (result.getMaskTypeDef != null) {
result.getMaskTypeDef.getName match {
case "MASK" => regexp_replace(col)
- case "MASK_SHOW_FIRST_4" if isSparkV31OrGreater =>
- regexp_replace(col, hasLen = true)
Review Comment:
seems we should remove the next branch instead of this one
--
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]