You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/06/27 06:45:42 UTC

[GitHub] [incubator-kyuubi] yaooqinn commented on a diff in pull request #2945: [KYUUBI #2918] Fix: Kyuubi integrated Ranger failed to query: table stats must be specified

yaooqinn commented on code in PR #2945:
URL: https://github.com/apache/incubator-kyuubi/pull/2945#discussion_r907027847


##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RangerSparkExtension.scala:
##########
@@ -40,7 +40,7 @@ class RangerSparkExtension extends (SparkSessionExtensions => Unit) {
 
   override def apply(v1: SparkSessionExtensions): Unit = {
     v1.injectResolutionRule(_ => new RuleReplaceShowObjectCommands())
-    v1.injectResolutionRule(new RuleApplyRowFilterAndDataMasking(_))
+    v1.injectPostHocResolutionRule(new RuleApplyRowFilterAndDataMasking(_))

Review Comment:
   instead of changing L43, you can try L44, `v1.injectPostHocResolutionRule(_ => new RuleEliminateMarker())`



-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org