Skip to content

Commit

Permalink
chore: Add redshift to humanize destination (#18685)
Browse files Browse the repository at this point in the history
* chore: Add redshift to humanize destination

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
tomasfarias and github-actions[bot] authored Nov 17, 2023
1 parent c00f42e commit c1084ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/scenes/batch_exports/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export function humanizeDestination(destination: BatchExportDestination): string
return `postgresql://${destination.config.user}:***@${destination.config.host}:${destination.config.port}/${destination.config.database}`
}

if (destination.type === 'Redshift') {
return `redshift://${destination.config.user}:***@${destination.config.host}:${destination.config.port}/${destination.config.database}`
}

if (destination.type === 'BigQuery') {
return `bigquery:${destination.config.project_id}:${destination.config.dataset_id}:${destination.config.table_id}`
}
Expand Down

0 comments on commit c1084ba

Please sign in to comment.