Sign inSign up

dkisler/sql-runner-redshift

By dkisler

Updated about 6 years ago

Golang SQL runner service

Image
0

62

dkisler/sql-runner-redshift repository overview

SQL Runner

A routine to run SQL query/ies in RedShift.

Objective

To provide a generic light-weight application to synchronously run in a k8s pod to execute submitted queries in Redshift.

Steps

  1. Connect to s3
  2. Conenct to RedShift
  3. Read query from s3 bucket
  4. Impute query paramters
  5. Split query to queries
  6. Loop over queries list and execute every sub-query
  7. Close connections

Tag summary

Content type

Image

Digest

Size

4.8 MB

Last updated

about 6 years ago

docker pull dkisler/sql-runner-redshift:1.0