mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
When the parser strips parentheses from `IN (col)` (single element), it produces `IN col` with a bare `ASTIdentifier`. After resolution this becomes a `ColumnNode`, which is not handled by `CollectSets`. Wrap it in `tuple()` so the existing tuple → `has` rewrite path handles it. This fixes queries like `SELECT * FROM t WHERE x IN (col)`. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 line
764 B
JSON
1 line
764 B
JSON
{"sqlite-complete": {"stats": {"statements": {"success": 6, "fail": 0}, "queries": {"success": 15, "fail": 4}, "total": {"success": 21, "fail": 4}}}, "sqlite-vs-sqlite": {"stats": {"statements": {"success": 6, "fail": 0}, "queries": {"success": 16, "fail": 3}, "total": {"success": 22, "fail": 3}}}, "clickhouse-complete": {"stats": {"statements": {"success": 6, "fail": 0}, "queries": {"success": 14, "fail": 5}, "total": {"success": 20, "fail": 5}}}, "clickhouse-vs-clickhouse": {"stats": {"statements": {"success": 6, "fail": 0}, "queries": {"success": 14, "fail": 5}, "total": {"success": 20, "fail": 5}}}, "sqlite-vs-clickhouse": {"stats": {"statements": {"success": 6, "fail": 0}, "queries": {"success": 14, "fail": 5}, "total": {"success": 20, "fail": 5}}}} |