You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Kirby Zhou <ki...@gmail.com> on 2022/11/29 06:56:44 UTC

Review Request 74227: RANGER-3984: Support using TiDB as mysql-db in ranger

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74227/
-----------------------------------------------------------

Review request for ranger, Bhavik Bavishi, Dhaval Shah, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Vishal Suvagia.


Bugs: RANGER-3984
    https://issues.apache.org/jira/browse/RANGER-3984


Repository: ranger


Description
-------

TiDB is a 95% mysql-compatible NewSQL database. For legal reason, we have to deploy ranger based on tidb. But TiDB is missing some features, which makes ranger unable to install properly.
https://docs.pingcap.com/tidb/stable/mysql-compatibility#unsupported-features

The biggest problem affecting ranger is missing "Stored procedures and functions", "Select into".
ranger use Stored procedures in setup scripts to simplify SQL.
Some work is needed to remove the stored procedure.


Diffs
-----

  security-admin/db/mysql/optimized/current/ranger_core_db_mysql.sql 833ffa0e0 


Diff: https://reviews.apache.org/r/74227/diff/1/


Testing
-------

Done with Ranger-master and Ranger-2.3 and TiDB-v6.4.0


Thanks,

Kirby Zhou