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

AfterShip / clickhouse-sql-parser / 16666101993
63%
master: 50%

Build:
Build:
LAST BUILD BRANCH: sharad/bug_fix
DEFAULT BRANCH: master
Ran 01 Aug 2025 04:14AM UTC
Jobs 1
Files 13
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

01 Aug 2025 04:12AM UTC coverage: 63.244% (+0.02%) from 63.224%
16666101993

Pull #177

github

git-hulk
Add support for PROJECTION columns in CREATE TABLE statements

This commit implements parsing support for PROJECTION columns within CREATE
TABLE statements according to ClickHouse syntax. Projections are a powerful
feature that allows creating pre-aggregated views of table data for improved
query performance.

Changes included:
  - Enhanced parseTableColumnExpr to detect and handle PROJECTION definitions
  - Added parseTableProjectionInCreateTable function for projection parsing
  - Created comprehensive test cases with input SQL and expected JSON output
  - Updated format tests to ensure proper SQL formatting

The implementation allows projections to be defined inline with regular table
columns, maintaining compatibility with existing CREATE TABLE parsing while
extending functionality for this advanced ClickHouse feature.
Pull Request #177: Add support for PROJECTION columns in CREATE TABLE statements

23 of 31 new or added lines in 1 file covered. (74.19%)

8113 of 12828 relevant lines covered (63.24%)

2083.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
65.34
0.12% parser/parser_table.go
Jobs
ID Job ID Ran Files Coverage
1 16666101993.1 01 Aug 2025 04:14AM UTC 13
63.24
GitHub Action Run
Source Files on build 16666101993
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #177
  • PR Base - master (#16347607930)
  • 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

© 2025 Coveralls, Inc