Skip to content

The uniformSQLParser supports both Mysql and Hive grammar. This is a example to learn how to use antlr4 for writing SQL parser.

License

Notifications You must be signed in to change notification settings

BruceXu1991/UniformSQLParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UniformSQLParser

The uniformSQLParser supports both Mysql, Hive and some self defined grammar. This is an example to learn how to use antlr4 for writing SQL parser.

You can test the rule with IDEA ANTLR plugin which starts at 'root_statement'.

这是基于antlr4开发的高效SQL解析器,支持mysql和hive语法,同时还有一些自定义语法,参考这个文件可以开发自己喜欢的SQL解析器。 :)

About

The uniformSQLParser supports both Mysql and Hive grammar. This is a example to learn how to use antlr4 for writing SQL parser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages