Retool application requirement is to develop a redshift based CRUD app based on manipulation of a single retool table object.
Retool table object updates will be used to apply bulk insert or updates to a single redshift table - typically involving no more than 12 rows.
Redshift does not enforce PK uniqueness and therefore SQL based bulk update was opted over GUI based retool approach.
PROBLEM: recordUpdates['0'] works fine, but usage/reference of entire array needed to apply a multi row insert or update of Redshift Table returns no errors messages from Redshift and ZERO table updates. i.e. use of recordUpdates instead of recordUpdates['N'] returns no success or failed response and zero changes to table.
Here's actual statement used as table "Bulk Update Action" which contains zero syntax errors..
UPDATE <SCHEMA.TABLE_NAME>
SET rpm_adjustment_monthly =
{{pricing_adjustment_monthly.recordUpdates.rpm_adjustment_monthly}},
views_adjustment_monthly = {{pricing_adjustment_monthly.recordUpdates.views_adjustment_monthly}}
WHERE ucid = {{pricing_adjustment_monthly.recordUpdates.ucid}}
AND base_month = {{pricing_adjustment_monthly.recordUpdates.base_month}}
AND view_month = {{pricing_adjustment_monthly.recordUpdates.view_month}}
;
Any assistance would be greatly appreciated.
Thank you!