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

skeema / skeema / 10274552331
92%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2024 10:09PM UTC
Jobs 1
Files 76
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

06 Aug 2024 10:00PM UTC coverage: 93.236% (+0.02%) from 93.219%
10274552331

push

github

evanelias
SQL processor: parse and ignore OR REPLACE in CREATE statements

In MariaDB, all object types support CREATE OR REPLACE syntax. MySQL also
supports this for CREATE VIEW only. Although Skeema's dump-style commands
(init, pull, format) don't ever use this syntax, it could appear when hand-
writing a new CREATE statement.

Previously, Skeema would fail to process any hand-written statements that
use CREATE OR REPLACE syntax. This commit improves the situation by parsing
(but otherwise ignoring) the OR REPLACE clause, for all object types.

Use of this syntax otherwise has no practical effect on Skeema's behavior,
since `skeema diff` and `skeema push` will only emit a CREATE when the object
does not exist on the DB server anyway.

The server flavor must also support the OR REPLACE syntax for it to be usable
in .sql files. Otherwise, a workspace SQL error will result.

29 of 29 new or added lines in 1 file covered. (100.0%)

9938 of 10659 relevant lines covered (93.24%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10274552331.1 06 Aug 2024 10:09PM UTC 0
93.24
GitHub Action Run
Source Files on build 10274552331
Detailed source file information is not available for this build.
  • Back to Repo
  • 68057376 on github
  • Prev Build on main (#10150936158)
  • Next Build on main (#10378415159)
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