Expand description
SQL parser.
The parser consumes lexer tokens and builds the AST used by planning.
tokens -> statement kind
|
+--> CREATE / DROP
+--> INSERT / UPDATE / DELETE
+--> SELECT
|
+--> projection
+--> source table
+--> WHERE expression tree
+--> ORDER BY / LIMITHematite keeps the grammar strict and explicit so later stages stay small and do not need to repair ambiguous SQL.