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

supabase / etl / 36540635497
79%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 08:16AM UTC
Jobs 1
Files 223
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

29 Sep 2026 08:06AM UTC coverage: 76.903% (+0.09%) from 76.816%
36540635497

push

github

web-flow
 clickhouse: resync error on column type changes (#1076)

* clickhouse: reject column type changes

ETL only warned on a source column type change and kept writing
positional RowBinary rows in the new encoding. Same-width changes
such as bigint to double precision were silently reinterpreted, and
width changes such as integer to bigint failed every insert until a
resync.

Fail the schema change before recording Applying metadata when the
mapped ClickHouse type changes. Changes that keep the mapped type,
such as a longer varchar, still pass without DDL. ETL does not
forward MODIFY COLUMN: Postgres rewrites existing rows with its own
cast or USING expression and emits no row events for it.

Check system.columns types when loading a table layout, allowing
only an outer Nullable wrapper. Insert with an explicit column list
and RowBinaryWithNamesAndTypes, and pin
input_format_with_types_use_header, so ClickHouse rejects any row
whose column type changed outside ETL. Map bool to the canonical
Bool name that the header check compares against.

* test(clickhouse): use plain GIVEN markers

ClickHouse tests mixed three spellings of GIVEN/WHEN/THEN: rustdoc
sections, `// --- ... ---` banners, and plain `// GIVEN:` comments.
Convert the tests in the touched ClickHouse files to the plain form,
keeping a one-sentence rustdoc summary on each test. No test logic
changes.

* clickhouse: reload layout after failed insert

A write reuses the table layout cached on its first write. After an
external ALTER, ClickHouse rejects the stale insert header, but the
error is a retryable insert failure, and every retry reused the same
cached layout until retries ran out. The clear CorruptedTableSchema
resync error only appeared after a process restart.

Evict the table's cached layout when an insert fails, so the next
write reloads and checks it. Evict only while the entry still holds
the layout the failed insert used, so a concurrent reload survives.

* clickhouse: keep layout on... (continued)

309 of 309 new or added lines in 4 files covered. (100.0%)

46452 of 60403 relevant lines covered (76.9%)

9963.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36540635497.1 29 Sep 2026 08:16AM UTC 223
76.9
GitHub Action Run
Source Files on build 36540635497
  • Tree
  • List 223
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36540635497
  • 2c118a22 on github
  • Prev Build on main (#36413404315)
  • Next Build on main (#36553599401)
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