calcite
reference corpus · status live · domain DB (Databases and storage engines) · lane A · refresh pinned · tags GLOBAL · SQL-PARSER · QUERY-OPTIMIZER · RELATIONAL-ALGEBRA · PLANNER · JAVA
What an agent uses it for
An agent working on SQL parsing, relational algebra and cost-based optimization queries this for Calcite's RelNode algebra, planner rules and optimizer framework.
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/calcite.jsonxerj corpus add --from ./calcite.jsonxerj corpus index calcite then xerj code calcite "your question"Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "calcite", once the corpus is indexed on the node.
Sources and pins
| source | pin | licence | size | review note |
|---|---|---|---|---|
| calcite | 8f27e24a02e7 | Apache-2.0 | 34.5 MB / 3,305 files | licence host-verified (ok-spdx): Apache-2.0 |
34.5 MB across 3,305 files. Added 2026-10-13.
Rights
Apache-2.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.
Retrieval spot-check (G7)
Not yet spot-checked. Queries are pre-registered in the registry before grading.