Skip to content

Conversation

CodewithEvilxd
Copy link

Description

Fixed a bug in PostgreSQL backfill where chunking would fail on UUID columns. The issue was that string values weren't being properly quoted in the SQL queries used for chunk boundaries.

What I changed:

  • Updated the SQL query functions to check if the column is a string type and quote the values
  • Made sure UUID and other string columns work correctly in backfill operations
  • Removed the old TODO comment since this is now fixed

This should make backfill work properly with UUID primary keys and other string-based columns.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Code builds successfully
  • The logic now quotes string values in SQL queries
  • Should work for UUID, text, and other string columns

Screenshots or Recordings

Related PR's (If Any):

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2025

CLA assistant check
All committers have signed the CLA.

@vaibhav-datazip
Copy link
Collaborator

Hi @CodewithEvilxd ,
This PR raised with master as base, can you rebase it to staging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants