kyuubi/extensions/spark
Deng An bc3fd3af1c
[KYUUBI #3592] Spark SQL authz only consider persistent functions
### _Why are the changes needed?_

to close #3592

### _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 #3593 from packyan/branch-spark-sql-authz-only-check-permanent-functions.

Closes #3592

fb59e3d8 [Deng An] isPersistentFunction use current db when db name is missing.
4e708976 [Deng An] use Option other than Some as info.getDb may return null.
5aefc66d [Deng An] fix unit test failed
ac38e0c2 [Deng An] generalizing isPersistentFunction method.
fcef751b [Deng An] Update extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala
532fd73d [Deng An] Update extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/PrivilegesBuilder.scala
7877d916 [Deng An] optimize the code
c7005b36 [packyan] Spark SQL authz only consider permanent functions

Lead-authored-by: Deng An <packyande@gmail.com>
Co-authored-by: Deng An <36296995+packyan@users.noreply.github.com>
Co-authored-by: packyan <packyande@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2022-10-20 20:26:06 +08:00
..
kyuubi-extension-spark-3-1 [KYUUBI #3399] [TEST] Add log4j conf for Spark lineage plugin module 2022-09-06 10:08:55 +08:00
kyuubi-extension-spark-3-2 [KYUUBI #3399] [TEST] Add log4j conf for Spark lineage plugin module 2022-09-06 10:08:55 +08:00
kyuubi-extension-spark-3-3 [KYUUBI #3601] [SPARK] Support infer columns for rebalance and sort 2022-10-17 18:13:50 +08:00
kyuubi-extension-spark-common [KYUUBI #3601] [SPARK] Support infer columns for rebalance and sort 2022-10-17 18:13:50 +08:00
kyuubi-extension-spark-jdbc-dialect [KYUUBI #3487] Provide Hive JDBC Dialect support for Spark/PySpark to connect Kyuubi via JDBC Source 2022-09-16 10:29:39 +08:00
kyuubi-spark-authz [KYUUBI #3592] Spark SQL authz only consider persistent functions 2022-10-20 20:26:06 +08:00
kyuubi-spark-connector-common [KYUUBI #3399] [TEST] Add log4j conf for Spark lineage plugin module 2022-09-06 10:08:55 +08:00
kyuubi-spark-connector-hive [KYUUBI #3529] Supple DDL tests for Spark Hive connector and fix consistent issues w/ V1 implementation 2022-10-15 22:45:22 +08:00
kyuubi-spark-connector-kudu [KYUUBI #3298] Unify the approach of get classLoader in Kyuubi 2022-08-23 13:50:10 +08:00
kyuubi-spark-connector-tpcds [KYUUBI #3399] [TEST] Add log4j conf for Spark lineage plugin module 2022-09-06 10:08:55 +08:00
kyuubi-spark-connector-tpch [KYUUBI #3399] [TEST] Add log4j conf for Spark lineage plugin module 2022-09-06 10:08:55 +08:00
kyuubi-spark-lineage [KYUUBI #3312] Add subquery support for sql lineage parser 2022-09-08 09:28:00 +08:00