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

AfterShip / clickhouse-sql-parser / 30969327660
56%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2026 02:26AM 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

05 Aug 2026 02:25AM UTC coverage: 55.205% (-0.009%) from 55.214%
30969327660

push

github

web-flow
Add support for ALTER TABLE ... MODIFY ORDER BY (#303)

MODIFY ORDER BY replaces the sorting key of a MergeTree table, as in
ALTER TABLE flows MODIFY ORDER BY (TimeReceived, ExporterAddress). The
new AlterTableModifyOrderBy clause follows the shape of the other MODIFY
clauses and holds the key as a single expression.

A single expression (as a tuple) is used rather than an order by list:
inside an ALTER a comma starts the next clause, so a key over several
columns is written as a tuple and reusing parseOrderByClause would
swallow the following clause.

The code is different than for CREATE TABLE, as this one accepts ORDER
BY a DESC. However, it should require an expression (a tuple for
multiple columns). This will be fixed in the next commit.

Checked against clickhouse-local 26.2.5.

30 of 61 new or added lines in 6 files covered. (49.18%)

2224 existing lines in 6 files now uncovered.

9254 of 16763 relevant lines covered (55.2%)

3741.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
17.37
0.01% parser/ast.go
6
70.25
-0.06% parser/parser_table.go
5
8.76
-0.04% parser/ast_visitor.go
5
73.28
-0.03% parser/parser_alter.go
2
43.06
0.02% parser/walk.go

Coverage Regressions

Lines Coverage ∆ File
1317
17.37
0.01% parser/ast.go
282
70.25
-0.06% parser/parser_table.go
242
8.76
-0.04% parser/ast_visitor.go
188
88.87
0.1% parser/format.go
137
43.06
0.02% parser/walk.go
58
73.28
-0.03% parser/parser_alter.go
Jobs
ID Job ID Ran Files Coverage
1 30969327660.1 05 Aug 2026 02:26AM UTC 17
55.2
GitHub Action Run
Source Files on build 30969327660
  • Tree
  • List 17
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 71e3f4d6 on github
  • Prev Build on master (#30900366688)
  • Next Build on master (#31004152987)
  • 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