• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AfterShip / clickhouse-sql-parser / 44689468989
59%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 06:41AM UTC
Jobs 1
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2026 06:40AM UTC coverage: 58.708% (+0.1%) from 58.607%
44689468989

push

github

web-flow
Parse ClickHouse heredocs as string literals (#347)

The lexer treated a leading `$` as the start of an identifier, so the
AST could describe clauses that ClickHouse reads as string content.

For `SELECT $x$ AS a FROM t WHERE b = $x$`, the parser reported a table
and a filter. ClickHouse returns the single string `' AS a FROM t WHERE b = '`.

Recognize matching heredoc delimiters using the ClickHouse 26.x tag
rules. Format the body as a single-quoted literal, escaping quotes and
backslashes to preserve its value. Identifiers such as `service$$name`
and `a$b` still parse as before. The new AST and formatting fixtures
cover both reported queries.

Fixes #346

Assistant-By gpt-6.2-astra

59 of 59 new or added lines in 4 files covered. (100.0%)

10875 of 18524 relevant lines covered (58.71%)

3872.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44689468989.1 20 Nov 2026 06:41AM UTC 31
58.71
GitHub Action Run
Source Files on build 44689468989
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d4b5931b on github
  • Prev Build on master (#44313435622)
  • Next Build on master (#44695073233)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc