Releases: AfterShip/clickhouse-sql-parser
Releases · AfterShip/clickhouse-sql-parser
v0.4.17
What's Changed
- Fix string escape sequences in lexer by @waterdrag0n in #209
- Add COMMENT support for CREATE DICTIONARY DDL statements by @sharadgaur in #210
- Add WITH FILL Support in ORDER BY by @Flo4604 in #211
- Parse compression codecs with no parameters by @swgillespie in #197
- Fix nil pointer for replicated database engine by @rabenhorst in #212
- Add support of parsing SETTING boolean values by @mdevilliers in #213
- Add support for table functions in CREATE TABLE AS statements by @swgillespie in #214
- Fix a crash with an invalid query following MODIFY QUERY by @swgillespie in #215
New Contributors
- @waterdrag0n made their first contribution in #209
- @Flo4604 made their first contribution in #211
- @swgillespie made their first contribution in #197
- @rabenhorst made their first contribution in #212
- @mdevilliers made their first contribution in #213
Full Changelog: v0.4.15...v0.4.17
v0.4.15
What's Changed
- Fix the printing order of the EngineExpr.String() method by @whscout in #201
- parser: fix typed placeholder lookahead; parse WHERE in SELECT without FROM by @ajruckman in #202
- parser: support ALTER TABLE DELETE/UPDATE mutations by @ajruckman in #203
- Allow to use the optional
IN PARTITIONexpression in ALTER TABLE by @git-hulk in #206 - parser: QBit data type support via simplified identifier handling by @ajruckman in #207
- Support multiple WINDOW definitions; expand window function tests by @ajruckman in #208
New Contributors
- @whscout made their first contribution in #201
- @ajruckman made their first contribution in #202
Full Changelog: v0.4.14...v0.4.15
0.4.14
What's Changed
- Fix parsing on multiple
union distinctandexceptby @erezrokah in #192 - Fix should allow using keywords as alias for columns by @erezrokah in #193
- Add support for
SELECT DISTINCT ON(…)by @bripkens in #194 - Fix Walk logic for DistinctOn clause by @git-hulk in #195
- Adding type hint parsing in JSON column type by @piyushsingariya in #196
- Support single-quoted table names. by @marianogappa in #199
- Handle select keyword inside functions by @erezrokah in #200
New Contributors
- @bripkens made their first contribution in #194
- @piyushsingariya made their first contribution in #196
- @marianogappa made their first contribution in #199
Full Changelog: v0.4.13...v0.4.14
v0.4.13
What's Changed
- Fix INDEX column spacing bug by @sharadgaur in #186
- Allow using JSON path in select results by @git-hulk in #189
- Fix shouldn't stop on
nilvalues when traversing the AST by @erezrokah in #191 - fix: Fix
Walklogic forWhenclause by @erezrokah in #190
New Contributors
- @erezrokah made their first contribution in #191
Full Changelog: v0.4.11...v0.4.13
0.4.11
What's Changed
- feat: support for ALTER TABLE MODIFY QUERY by @Blackmorse in #168
- fix: ParamExprList.String is missing ColumnArgList by @keuin in #169
- Add support of parsing database comment by @caifengyin in #167
- Implement OR REPLACE clause support for CREATE FUNCTION statements by @Copilot in #171
- Export Enter and Leave methods in ASTVisitor interface by @Copilot in #172
- Add support for CREATE USER statement according to ClickHouse SQL documentation by @Copilot in #170
- fix: change WINDOW clause position by @Blackmorse in #173
- Remove an extra leading space when formatting the WINDOW FUNCTION by @git-hulk in #174
- Add support for CREATE DICTIONARY statement by @Copilot in #175
- Add support of PROJECTION column in CREATE TABLE by @git-hulk in #178
- Add support for SHOW and DESC/DESCRIBE statements by @Copilot in #180
- Enhance SHOW DATABASES statement to support LIKE, ILIKE, LIMIT, OUTFILE, and FORMAT clauses by @Copilot in #182
- Support
DESCRIBE TABLEsyntax by @dejanmltc in #183 - feat: Add ALTER TABLE MODIFY/RESET SETTING syntax support by @git-hulk in #185
New Contributors
- @Blackmorse made their first contribution in #168
- @keuin made their first contribution in #169
- @caifengyin made their first contribution in #167
- @Copilot made their first contribution in #171
- @dejanmltc made their first contribution in #183
Full Changelog: v0.4.10...v0.4.11
v0.4.10
What's Changed
- Adding support MV definer by @sharadgaur in #160
- Preserve DISTINCT keyword when it appears right after SELECT by @anshal21 in #161
- Improve statement end position handling to prevent null pointer exceptions by @Lance726 in #162
- Support JSON parameter for
max_dynamic_pathsandmax_dynamic_typesby @Junrin-Lee in #164 - Add MILLISECOND to time interval units by @vvkohut in #166
New Contributors
- @Junrin-Lee made their first contribution in #164
- @vvkohut made their first contribution in #166
Full Changelog: v0.4.9...v0.4.10
v0.4.9
v0.4.8
What's Changed
- Add support of
GROUPING SETSsyntax for the group by clause by @git-hulk in #150 - Add support of the typed placeholder parameters for INSERT statement by @git-hulk in #151
- Refactor expectTokenKind's return value to keep consistent with expectKeyword by @git-hulk in #152
- Fix INSERT INTO should allow the empty column list by @git-hulk in #153
Full Changelog: v0.4.6...v0.4.8
v0.4.6
What's Changed
- Add support of parsing TTL policy when creating table by @git-hulk in #137
- Add parsing benchmarks by @orian in #138
- Minor refactor the lexer to allow consuming multiple keywords at once by @git-hulk in #142
- Add support of OR REPLACE expression for CREATE TABLE|VIEW by @git-hulk in #143
- Fix dollar sign should be a valid part of the identifier by @git-hulk in #147
- Fix should allow using the keyword as column name by @git-hulk in #148
Full Changelog: v0.4.5...v0.4.6
v0.4.5
What's Changed
- Parse select item alias even without
ASkeyword by @orian in #125 - Fix the expr might be empty in window frame cause by @git-hulk in #127
- Add support of using the SELECT query as table function argument by @git-hulk in #128
- Fix panic with the invalid SQL by @git-hulk in #130
- Fix SubQuery was being recognized as an ident by @git-hulk in #132
- Fix should preserve DISTINCT in ParamExprList by Reusing ColumnExprList.String() by @anshal21 in #133
- Add support of TTL expression in column definition by @git-hulk in #136
New Contributors
Full Changelog: v0.4.4...v0.4.5