yaooqinn commented on code in PR #4643:
URL: https://github.com/apache/kyuubi/pull/4643#discussion_r1156869164
##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/datamasking/DataMaskingTestBase.scala:
##########
@@ -260,4 +260,50 @@ trait DataMaskingTestBase extends AnyFunSuite with
SparkSessionProvider with Bef
Seq(Row(md5Hex("1"), "hello")))
}
}
+
+ test("test MASK rule with non-English character set") {
Review Comment:
hi @huangzhir, these tests are not verifying any code we changed. If we
revert changes in SparkRangerAdminPlugin, the tests will pass.
Please use a normal query like `select col0 from t1`, where `t1.col0` has a
masker configuration with show_xxx_4. It shall be done by the masking rule
automatically instead of what we do here manually
--
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]