Commit 0b312eb
committed
feat: add SQL frontend, runtime expression evaluator, and Counterscale conformance research
SQL parser (ported from lanceql Zig): lexer, recursive descent parser, AST → QueryDescriptor
compiler. SqlWrappingExecutor handles features beyond FilterOp[] — OR, LIKE, NOT IN, HAVING,
multi-column ORDER BY, CASE/CAST/arithmetic in SELECT — via runtime expression evaluation.
Counterscale conformance test proves querymode handles all 7 query patterns from the popular
open-source analytics dashboard (32 tests). Includes 5 "query as code" tests demonstrating
what's impossible with Analytics Engine's HTTP SQL API: funnel analysis, conditional aggregation,
anomaly detection, 2-query collapse, and cross-dimension analysis — all in single-pass with
zero serialization boundary.
Research folder adds user interview guide, interview tracker, and prospecting templates.1 parent 88a480d commit 0b312eb
File tree
19 files changed
+4290
-1
lines changed- research
- src
- sql
19 files changed
+4290
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments