Status of Compiler

10 views
Skip to first unread message

San Nguyen Hong

unread,
Mar 29, 2011, 4:29:31 AM3/29/11
to opend...@googlegroups.com
Status of Parser (no change from version developed by Camuel)
- Parse BQL and build AST
- There may be some bug of recognization like case of 'd' letter in
docid ffrom BQL: SELECT docid from [document]
- Weak of error/warning report

Status of Compiler (class diagram in attachement)
- Build Semantic Model (represented in Query interface and QueryImpl
class) from AST
- Infer result columnar schema
- Generate Query Plan in form of Java Janino code: this code read
directly data from input tablet and write result to a tablet.
- Not all validation rule are implemented
- Currently work with BQL without GROUPBY/ORDERBY and no subquery

Status of Executor:
- Use Janino to compile Query Plan to Java byte code
- Execute Query Plan
- Currently single-thread

compiler.png
Reply all
Reply to author
Forward
0 new messages