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

AfterShip / clickhouse-sql-parser / 19489508572

19 Nov 2025 04:11AM UTC coverage: 50.979% (+0.02%) from 50.959%
19489508572

push

github

web-flow
Add support for table functions in CREATE TABLE AS statements (#214)

This commit adds support for using table functions like remoteSecure()
and remote() in CREATE TABLE AS statements when column definitions are
present, and fixes support for AS SELECT without parentheses.

The parser now supports table creations such as:
- CREATE TABLE (...) AS remoteSecure('host', 'db', 'table', 'user', 'pass')
- CREATE TABLE (...) AS remote('host', 'db', 'table')
- CREATE TABLE AS SELECT ... (without parentheses)
- CREATE TABLE (...) AS SELECT ... (without parentheses)

40 of 86 new or added lines in 3 files covered. (46.51%)

2 existing lines in 2 files now uncovered.

7891 of 15479 relevant lines covered (50.98%)

2009.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.43
/parser/ast.go


Source Not Available

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