Skip to content

dborchard/tiny-sql-rewriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny SQL Rewriter

This project is based out of XiaoMi Soar

Components

  • 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.

How to run

Run main.go file.

About

Tiny SQL rewriter based on SOAR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages