Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
marsupialtail_2
· 3y ago · 0 comments
Wait this is really cool. How do you parse and optimize SQL?
Comments
[–]
joocer
3y ago
It uses
https://github.com/sqlparser-rs/sqlparser-rs
as the parser and lexer. The binder, planner, optimizer and executor are in Python. The optimizer stage only works on the logical plan and the rules are heuristic only.