Skip to content

Releases: questdb/sql-parser

v0.1.10

22 Apr 13:51

Choose a tag to compare

@questdb/sql-parser v0.1.10

Added

  • Named WINDOW clause: SELECT ... WINDOW w AS (...) with multiple windows, window inheritance, and inline-plus-named mixing. Matches QuestDB's Java parser (introduced in questdb/questdb#6746). #24
  • Trailing comma accepted in select lists: SELECT a, b, FROM t now parses cleanly. #24

Fixed

  • Named window reference in OVER w no longer loses the window name when round-tripping through the AST and toSql. #24
  • Autocomplete no longer hangs on malformed input (unbalanced parens, unsupported clauses, stray terminators). A path-count budget in the content-assist DFS aborts pathological searches in <200ms and returns no suggestions, instead of freezing the UI. #24
  • WINDOW keyword now shows up in autocomplete as a standalone clause keyword alongside WINDOW JOIN after a FROM clause. #24

npm

v0.1.9

21 Apr 11:01

Choose a tag to compare

@questdb/sql-parser v0.1.9

Added

  • bar and sparkline functions #22
  • Storage policy keywords and local/remote constants #20

Changed

  • Position-aware autocomplete: functions are categorized into scalar / aggregate / window / table-valued buckets, remove implicit select filter. 5a422b0

npm

v0.1.8

13 Apr 11:38

Choose a tag to compare

@questdb/sql-parser v0.1.8

Added

  • Add timestamp_sequence_ns function #21
  • array_elem_min, array_elem_max, array_elem_sum, array_elem_avg, now_ns, systimestamp_ns, rnd_timestamp_ns functions #19

npm

v0.1.7

13 Apr 09:31

Choose a tag to compare

@questdb/sql-parser v0.1.7

Added

  • LATERAL JOIN support: {INNER|LEFT|CROSS} JOIN LATERAL (subquery) and standalone FROM t, LATERAL (subquery) 6e5e5e7
  • UNNEST support including JSON UNNEST 6e5e5e7
  • PARQUET column config in CREATE/ALTER table statements 6e5e5e7

npm

v0.1.6

25 Mar 22:07

Choose a tag to compare

@questdb/sql-parser v0.1.6

Changed

  • remove quoted identifier suppression #17

npm

v0.1.5

18 Mar 00:03
2f7040f

Choose a tag to compare

@questdb/sql-parser v0.1.5

Fixed

boost expression operators over clause keywords in WHERE context #15

npm

v0.1.4

17 Mar 12:04
4519715

Choose a tag to compare

@questdb/sql-parser v0.1.4

Added

  • Compound JOIN suggestions: suggest "LEFT JOIN", "ASOF JOIN" etc. as single completions instead of bare keywords #13
  • CTE grammar: extract selectBody rule so DECLARE/WITH are not suggested after WITH clause #13

Fixed

  • Table suggestion ranking: tables no longer interleave with columns in autocomplete #13

npm

v0.1.3

04 Mar 14:57
2c5ed89

Choose a tag to compare

@questdb/sql-parser v0.1.3

Added

  • horizon join support #9

npm

v0.1.2

25 Feb 12:35
b401d59

Choose a tag to compare

@questdb/sql-parser v0.1.2

Fixed

  • Prioritize tables with mentioned columns in the suggestions #6

npm

v0.1.1

23 Feb 12:22
9b8a549

Choose a tag to compare

@questdb/sql-parser v0.1.1

Fixed

  • grammar-level table/column classification, join-specific suggestions #2

npm