ambitious-journalist-66344
11/21/2020, 11:26 PMrudder-server is not writing events to my PostgreSQL RDS warehouse destination.
The events are making it to the S3 staging bucket. I have granted my db user CREATE and TEMPORARY permissions.
I can see in the logs such as:
...
INFO PG: Starting export to postgres for source:1kP1RXc47oMUNYGX2Pe3YsZZCkC and wh_upload:1
...
INFO PG: Starting load for all 3 tables
...
INFO WH: Setting table upload status: UPDATE wh_table_uploads SET status=$1
...
INFO PG: File reading completed while reading csv file for loading in staging table:rudder_staging_tracks_aef95f94636f41bebc1ba40ed8552535
INFO PG: Deduplicate records for table:tracks using staging table: DELETE FROM "http_source_dev"."tracks" USING...
INFO PG: Inserting records for table:tracks using staging table: INSERT INTO "http_source_dev"."tracks" (anonymous_id...
INFO WH: Setting table upload status: UPDATE wh_table_uploads SET status=$1, updated_at=$2 WHERE wh_upload_id=$3...
INFO PG: Complete load for table:tracks...
INFO PG: dropping table rudder_staging_tracks_aef95f94636f41bebc1ba40ed8552535
...
INFO PG: Completed load for all tables
INFO WH: Setting status of exported_data for wh_upload:1
When I query the RDS, it's all empty with no tables. I'm hoping I'm doing something silly 😐
Anyone got any suggestions for how to debug this?ambitious-journalist-66344
11/21/2020, 11:41 PMwh_* tables in the jobsdb - I can't see any obvious errors.ambitious-journalist-66344
11/22/2020, 12:38 AM\dt showed all tables - it doesn't. I had to use \dt "http_source_dev".*.narrow-rain-89253
11/22/2020, 1:38 AM