### _Why are the changes needed?_ to close #3515. By replacing mapChildren in `RuleApplyRowFilterAndDataMasking`to skip head of children query as insterted by iceberg in `IcebergSparkSessionExtensions` . ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3520 from bowenliang123/3515-authz-iceberg. Closes #3515 a10fe43a [Bowen Liang] improve mapPlanChildren 5eb7f845 [Bowen Liang] fix problem after merging from master bb1eefbd [Bowen Liang] merge from master 6c6b071c [Bowen Liang] Merge commit 'ae2df990a32c695de6f0345ea7e73e51103e87e5' into 3515-authz-iceberg dbcfe6d8 [Bowen Liang] restrict skipMapchiled to Iceberg command privilege builders and add skipMappedChildren method to IcebergCommands to handling them ae2df990 [Bowen Liang] nit 0c691798 [liangbowen] update mapPlanChildren and passSparkVersionCheck 161215d0 [liangbowen] nit 0006dee3 [liangbowen] generalize passSparkVersionCheck method to AuthZUtils 44163638 [liangbowen] refactor getFieldValOpt to getFieldValOption 5b8aa40b [Bowen Liang] improvements on skippedMapChildren of mapPlanChildren 11c2e637 [liangbowen] nit 5a971945 [liangbowen] unifiying general way for ensure skipped table is in plan's children b161d70f [Bowen Liang] nit 952c1e1c [Bowen Liang] reuse MergeIntoTable of v2Commands to MergeIntoIcebergTable of IcebergCommands 0b25bd1b [Bowen Liang] generalize mapPlanChildren for iceberg commands 04fb651f [Bowen Liang] nit a1f33bc3 [Bowen Liang] update DELETE FROM TABLE ut 34d65e5a [Bowen Liang] introduce IcebergCommands for access checking iceberg table. skip head child for iceberg commands in RuleApplyRowFilterAndDataMasking to prevent marking output tables. 085bfa31 [liangbowen] repalce mapChildren in RuleApplyRowFilterAndDataMasking with mapPlanChildren method, to skip head child for iceberg UpdateIcebergTable/MergeIntoIcebergTable/DeleteFromIcebergTable 6a245019 [liangbowen] init iceberg ut Lead-authored-by: Bowen Liang <liangbowen@gf.com.cn> Co-authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: Kent Yao <yao@apache.org> |
||
|---|---|---|
| .. | ||
| server/kyuubi-server-plugin | ||
| spark | ||
| README.md | ||
For developers
This folder contains plugins/extension for kyuubi server and different engine types.
- ext
- kyuubi-server
- spark
- flink
- trino
- hive
- others
- ...