CREATE SINK insights.benchmark_twrr_by_taxonomy_node_sink AS
SELECT
*
FROM insights.benchmark_twrr_by_taxonomy_node_sink__rwm_shim
WITH (
connector='postgres',
host='psql-nonprod-uae-derived.postgres.database.azure.com',
port='6432',
user='migration_user',
password='***',
database='alinma-qa-insights-db',
table='benchmark_twrr_metrics_by_taxonomy_node_ft',
schema='insights',
type='upsert',
force_compaction='true',
primary_key='benchmark_id,fact_date,taxonomy_node_id',
sink_rate_limit=0,
snapshot='false'
)