Skip to content

Commit f41f3a3

Browse files
bitnergadomski
andauthored
SQL Generation Rework (#86)
* Initial port to generating sql as AST * built suite of tests against sample file, fixed a number of things found while making tests, add reduce option to wasm, add filter option Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
1 parent 8d1aef6 commit f41f3a3

27 files changed

+3161
-1306
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
10+
- Reworked SQL generation to use `SqlParser` AST as the target.
11+
- Modified `to_ducksql` to leverage SQL AST, only changing aspects specific to DuckDB.
12+
13+
### Added
14+
15+
- `filter` method to filter passed-in JSON values.
16+
- Sample data to run test filters against.
17+
- 155 tests covering every CQL2 operator.
18+
- Test runners for both internal `reduce`/`matches` and DuckDB.
19+
- Exposed `reduce` option in WASM / WASM Playground.
20+
21+
### Fixed
22+
23+
- Numerous issues found with the new tests.
824

925
## [0.3.8] - 2025-09-09
1026

0 commit comments

Comments
 (0)