-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
任务:新的SQL路由函数 #6
Comments
我计划采用h2database的SQL parser来实现,作为Mycat-2.0内置的parser. |
VoltDB uses our own fork of modules from the HSQL project within our product. Finally, to answer your specific question, the VoltDB test frameworks use a database engine closely based on HSQL's to generate baseline results for comparison with VoltDB results. |
难度S级别,持续改进预计半年以上,需要思维严谨,熟悉和感兴趣SQL解析的牛人来实现,大家完善
函数一:实现简单高效的SQL扫描,只返回回SQL中的Table信息,以及每个Table字符串结束的位置,用于下一步深入分析
如SQL =select * from tablea A where A.xx= bbb left join tableb B ....
则返回结果
tablea,alias A , indexEnd 22
tableb alias B indexEnd 33
函数二:
深入分析
返回
tablea condition:s xx= bbb ,select colums:*
joins: tablea.xx with tableb.yyy
The text was updated successfully, but these errors were encountered: