Skip to content

Commit

Permalink
rename ViewAccessAnalysis to RuleApplyPermanentViewMarker
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Aug 25, 2022
1 parent f58be00 commit 207ed7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RangerSparkExtension extends (SparkSessionExtensions => Unit) {

override def apply(v1: SparkSessionExtensions): Unit = {
v1.injectResolutionRule(_ => new RuleReplaceShowObjectCommands())
v1.injectResolutionRule(_ => new ViewAccessAnalysis())
v1.injectResolutionRule(_ => new RuleApplyPermanentViewMarker())
v1.injectResolutionRule(new RuleApplyRowFilterAndDataMasking(_))
v1.injectOptimizerRule(_ => new RuleEliminateMarker())
v1.injectOptimizerRule(new RuleAuthorization(_))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.apache.spark.sql.catalyst.rules.Rule
import org.apache.kyuubi.plugin.spark.authz.util.AuthZUtils._
import org.apache.kyuubi.plugin.spark.authz.util.PermanentViewMarker

class ViewAccessAnalysis extends Rule[LogicalPlan] {
class RuleApplyPermanentViewMarker extends Rule[LogicalPlan] {

override def apply(plan: LogicalPlan): LogicalPlan = {
plan mapChildren {
Expand Down

0 comments on commit 207ed7b

Please sign in to comment.