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

supabase / wrappers / 21655489420
76%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2026 02:34AM UTC
Jobs 1
Files 58
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

04 Feb 2026 02:03AM UTC coverage: 76.042% (+0.3%) from 75.764%
21655489420

push

github

web-flow
fix(clickhouse): implement re_scan for nested loop joins (#546)

* fix(clickhouse): implement re_scan for nested loop joins

Fixes #532

PostgreSQL uses Nested Loop joins when joining foreign tables.
During a Nested Loop join, the inner (right) table is scanned
multiple times - once for each row of the outer table. The FDW
framework calls re_scan() to restart the inner scan for each
outer row.

The ClickHouse FDW was using the default no-op re_scan()
implementation, which meant that after the first scan completed,
subsequent rescans returned no data because:
- is_scan_complete was still true
- row_receiver channel was exhausted
- No new streaming task was spawned

This fix implements re_scan() to restart the async streaming:
- Abort existing streaming task if running
- Reset scan state flags
- Reinitialize the bounded channel
- Spawn new streaming task with the same SQL query
- Fetch the first row to initialize the rescan

Also adds integration tests for inner, left, and right joins.

* code refactor and upgrade version

---------

Co-authored-by: Bo Lu <lv.patrick@gmail.com>

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

6732 of 8853 relevant lines covered (76.04%)

51.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21655489420.1 04 Feb 2026 02:34AM UTC 58
76.04
GitHub Action Run
Source Files on build 21655489420
  • Tree
  • List 58
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21655489420
  • 66dfb1e5 on github
  • Prev Build on main (#21653465596)
  • Next Build on main (#21668712743)
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