Skip to content

Commit

Permalink
[KYUUBI apache#5995][Improvement] Avoid unnecessary loop for injected…
Browse files Browse the repository at this point in the history
… analyzer rule
  • Loading branch information
AngersZhuuuu committed Jan 19, 2024
1 parent 162e72b commit 82db80e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class RangerSparkExtension extends (SparkSessionExtensions => Unit) {

override def apply(v1: SparkSessionExtensions): Unit = {
v1.injectCheckRule(AuthzConfigurationChecker)
v1.injectResolutionRule(_ => RuleReplaceShowObjectCommands)
v1.injectResolutionRule(_ => RuleApplyPermanentViewMarker)
v1.injectResolutionRule(_ => RuleApplyTypeOfMarker)
v1.injectResolutionRule(RuleApplyRowFilter)
v1.injectResolutionRule(RuleApplyDataMaskingStage0)
v1.injectResolutionRule(RuleApplyDataMaskingStage1)
v1.injectPostHocResolutionRule(_ => RuleReplaceShowObjectCommands)
v1.injectPostHocResolutionRule(_ => RuleApplyPermanentViewMarker)
v1.injectPostHocResolutionRule(_ => RuleApplyTypeOfMarker)
v1.injectPostHocResolutionRule(RuleApplyRowFilter)
v1.injectPostHocResolutionRule(RuleApplyDataMaskingStage0)
v1.injectPostHocResolutionRule(RuleApplyDataMaskingStage1)
v1.injectOptimizerRule(_ => RuleEliminateMarker)
v1.injectOptimizerRule(RuleAuthorization)
v1.injectOptimizerRule(RuleEliminatePermanentViewMarker)
Expand Down

0 comments on commit 82db80e

Please sign in to comment.