Feat: Parallelize replication from PG -> External (#2637)

* feat: chunking query

* feat: first pass at range chunking

* fix: bug bashing

* fix: function geq

* fix: use maps.Copy

* fix: olap func

* feat: olap side

* refactor: external id

* fix: order by

* feat: wire up env vars

* fix: pass var through

* fix: naming

* fix: append to returnErr properly

* fix: use eg.Go
This commit is contained in:
matt
2025-12-10 17:11:03 -05:00
committed by GitHub
parent fe1bf7d356
commit 0a947924fa
12 changed files with 687 additions and 180 deletions
+1 -1
View File
@@ -1916,7 +1916,7 @@ BEGIN
SELECT tenant_id, id, inserted_at, external_id, type, location,
external_location_key, inline_content, updated_at
FROM %I
WHERE (tenant_id, inserted_at, id, type) > ($1, $2, $3, $4)
WHERE (tenant_id, inserted_at, id, type) >= ($1, $2, $3, $4)
ORDER BY tenant_id, inserted_at, id, type
LIMIT $5
', source_partition_name);