pipedream
pipedream copied to clipboard
[BUG] Postgres: New or Updated Row source does not emit event on table with more than 100k rows
Describe the bug When deploying new Postgres: New or Updated Row source and choosing a table with more than 100k rows. In the code here, because there's no initial date, so the action looks at EVERY row in the table.
To Reproduce Steps to reproduce the behavior:
- Create a database with more than 100k rows
- Create a new Postgres: New or Updated Row, select the table
- Observe that there's no event emitted
Expected behavior The source should show the last 10 rows initially, then emit events for each new/updated row afterward