chryso 0.0.2

Chryso is a Calcite-style SQL parser + optimizer engine in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "cases": [
    {
      "name": "agg_limit",
      "sql": "select id, sum(amount) from sales where region = 'us' group by id order by id limit 10",
      "dialect": "postgres"
    },
    {
      "name": "distinct_offset",
      "sql": "select distinct id from users where id > 10 order by id desc offset 2",
      "dialect": "postgres"
    }
  ]
}