Re: Use Spark extension points to implement row-level security

2018-08-18 Thread Richard Siebeling
Thanks, this looks promising. I am trying to do it without a dependency on Hive and was hoping that the extension hooks could be used to add a filter transformation to the logical plan. I've seen some other email saying that in the optimisation hook the logical is expected to stay the same (

Re: Use Spark extension points to implement row-level security

2018-08-17 Thread Maximiliano Patricio Méndez
Hi, I've added table level security using spark extensions based on the ongoing work proposed for ranger in RANGER-2128. Following the same logic, you could mask columns and work on the logical plan, but not filtering or skipping rows, as those are not present in these hooks. The only difficult

Use Spark extension points to implement row-level security

2018-08-17 Thread Richard Siebeling
Hi, I'd like to implement some kind of row-level security and am thinking of adding additional filters to the logical plan possibly using the Spark extensions. Would this be feasible, for example using the injectResolutionRule? thanks in advance, Richard