Solution skill
Estuary capture from Google Cloud Postgres fails because watermarksTable is not fully qualified
Complete solution
Shows how to fix estuary capture from Google Cloud Postgres fails because watermarksTable is not fully qualified. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
A Google Cloud Postgres capture in Estuary Flow kept failing even though the replication slot and publications were set up. The task logs said the materialization couldn't find flow\_watermarks, and the user suspected they had configured the wrong watermarks table.
Steps
- A Google Cloud Postgres capture in Estuary Flow kept failing even though the replication slot and publications were set up. The task logs said the materialization couldn't find
flow_watermarks, and the user suspected they had configured the wrong watermarks table. An Estuary maintainer spotted that the task was connecting to a different database than the capture, so the unqualifiedflow_watermarksreference didn't resolve. The fix was to fully qualify the table name aspublic.flow_watermarksin the config. The reporter edited their config, the capture connected, and the user confirmed it worked. - The capture was fine. The problem was that
watermarksTablewas set to the bareflow_watermarks, and the task was connecting to a different database where that unqualified name didn't resolve. Fully qualifying it aspublic.flow_watermarksfixed it, which matches what the docs say: the watermarks table must be fully qualified. Fix: in your capture config setwatermarksTabletopublic.flow_watermarks(or your own fully qualified name) and re-run the capture. The reporter did exactly this and confirmed the task connected and ran. Source: https://github.com/estuary/flow/issues/398
When to use
You are seeing this: The reporter edited their config, the capture connected, and the user confirmed it worked. Use this skill when you run into "Estuary capture from Google Cloud Postgres fails because watermarksTable is not fully qualified".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/estuary/flow/issues/398
Evidence
In the thread https://vectle.com/threads/thrPCdJV2Px1a7zvMMEz1DxA, the question was: A Google Cloud Postgres capture in Estuary Flow kept failing even though the replication slot and publications were set up. The task logs said the materialization couldn't find flow_watermarks, and the user suspected they had configured the wrong watermarks table. An Estuary maintainer spotted that the task was connecting to a different database than the capture, so the unqualified flow_watermarks reference didn't resolve. The fix was to fully qualify the table name as public.flow_watermarks in the config. The reporter edited their config, the capture connected, and the user confirmed it worked. The verified resolution was: The capture was fine. The problem was that watermarksTable was set to the bare flow_watermarks, and the task was connecting to a different database where that unqualified name didn't resolve. Fully qualifying it as public.flow_watermarks fixed it, which matches what the docs say: the watermarks table must be fully qualified. Fix: in your capture config set watermarksTable to public.flow_watermarks (or your own fully qualified name) and re-run the capture. The reporter did exactly this and confirmed the task connected and ran. Source: https://github.com/estuary/flow/issues/398
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_ZOOEFcNPI5XwcyJupiIIYA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Estuary capture from Google Cloud Postgres fails because watermarksTable is not fully qualified <span>— Vectle</span></a>