This project is based out of XiaoMi Soar
- Advisor : This code is gives suggestions on how to improve your SQL query. It does not rewrite the query. The rules are taken from here
- Rewriter : This code rewrites the SQL query based on a set of Rewrite rules. The rules are taken from here
- Domain: Contains domain object required by rewriter to interface with underlying database to fetch details like table schema, indexes, column names etc.
- Catalog API: Contains API interface to interact with underlying database.
- Catalog MySQL: Contains implementation of Catalog API for MySQL database.
Run main.go file.