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

AfterShip / clickhouse-sql-parser / 30468832682
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: fix-table-function-arg-exprs
DEFAULT BRANCH: master
Ran 29 Jul 2026 04:03PM UTC
Jobs 1
Files 17
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

29 Jul 2026 04:02PM UTC coverage: 54.513% (+0.2%) from 54.268%
30468832682

Pull #290

github

therealpandey
Keep argument aliases and parametric lists on the keyword path

The keyword-argument parser parsed each argument with parseExpr, losing three
things parseColumnExprListWithLParen does on the path it replaces. Because every
call to these four functions is routed through it, plain comma calls lost them
too:

- an optional `AS <alias>` per argument, so `trim('x' AS y)` and
  `substring('h' AS s, 2)` stopped parsing although ClickHouse accepts them
- a leading DISTINCT
- a trailing parametric argument list

Also drop the fixture and assertion for `trim(both)` and `trim(both, x)`:
ClickHouse rejects both, because its trim grammar always reads BOTH as the
modifier, so they were the wrong thing to pin. BOTH as an ordinary name is still
covered through max(both) and an alias.

Reuse parseOneStmt from position_test.go rather than a second copy of it.
Pull Request #290: Support SQL-standard keyword arguments for trim, substring and overlay

111 of 129 new or added lines in 2 files covered. (86.05%)

550 existing lines in 2 files now uncovered.

9042 of 16587 relevant lines covered (54.51%)

3075.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
77.87
0.74% parser/parser_column.go

Coverage Regressions

Lines Coverage ∆ File
378
69.9
0.07% parser/parser_table.go
172
77.87
0.74% parser/parser_column.go
Jobs
ID Job ID Ran Files Coverage
1 30468832682.1 29 Jul 2026 04:03PM UTC 17
54.51
GitHub Action Run
Source Files on build 30468832682
  • Tree
  • List 17
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #290
  • PR Base - master (#30451464603)
  • 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