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

AfterShip / clickhouse-sql-parser / 24572473754
51%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2026 03:16PM UTC
Jobs 1
Files 15
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

17 Apr 2026 03:15PM UTC coverage: 51.45% (+0.001%) from 51.449%
24572473754

push

github

web-flow
Add COMMENT support to CREATE VIEW parser (#265)

CREATE VIEW in ClickHouse supports COMMENT between the schema and AS SELECT:

  CREATE VIEW db.v (columns) COMMENT '{...}' AS SELECT ...

The parser previously failed with 'expected EOF or ; but got COMMENT'.

Changes:
- Add Comment field to CreateView struct (ast.go)
- Parse COMMENT clause in parseCreateView before AS (parser_view.go)
- Format COMMENT in CreateView.FormatSQL (format.go)
- Add test case: create_view_with_comment.sql
- Update golden files for existing view tests (new nil Comment field)

9 of 17 new or added lines in 4 files covered. (52.94%)

8212 of 15961 relevant lines covered (51.45%)

2419.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
10.65
-0.01% parser/ast.go
2
65.83
0.02% parser/parser_view.go
2
41.72
-0.02% parser/walk.go
Jobs
ID Job ID Ran Files Coverage
1 24572473754.1 17 Apr 2026 03:16PM UTC 15
51.45
GitHub Action Run
Source Files on build 24572473754
  • Tree
  • List 15
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8ce1476f on github
  • Prev Build on master (#24495309140)
  • Next Build on master (#24923153228)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc