bowenliang123 commented on code in PR #4643:
URL: https://github.com/apache/kyuubi/pull/4643#discussion_r1154530541


##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/datamasking/DataMaskingTestBase.scala:
##########
@@ -76,10 +77,12 @@ trait DataMaskingTestBase extends AnyFunSuite with 
SparkSessionProvider with Bef
   test("simple query with a user doesn't have mask rules") {
     checkAnswer("kent", "SELECT key FROM default.src order by key", 
Seq(Row(1), Row(20), Row(30)))
   }
-
+  // SELECT 1, 1, 'hello', 'world', timestamp'2018-11-17 12:34:56', 'World'
   test("simple query with a user has mask rules") {
     val result =
-      Seq(Row(md5Hex("1"), "xxxxx", "worlx", Timestamp.valueOf("2018-01-01 
00:00:00"), "Xorld"))
+      Seq(Row(md5Hex("1"), "xxxxx", "\u6d4b\u8bd5woxxx",
+        Timestamp.valueOf("2018-01-01 00:00:00"), "Xxxld\u6d4b\u8bd5"))

Review Comment:
   I would say it's worse to understand now.



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