b12io / room-with-a-view

View management for Amazon's Redshift
Other
3 stars 1 forks source link

Some details #1

Open marcua opened 6 years ago

marcua commented 6 years ago

Problems

Solution: Room with a View, an open source package for managing (Redshift) views

Example of how the package can get used

Other things

Example settings.yaml file

connections:
  connection1:
    hostname: hostname
    port: 5432
environments:
  production:
    postfix: ""
  staging:
    postfix: _staging
thisisdhaas commented 6 years ago

I took at stab at this in #2. It uses regexes to automatically parse CREATE VIEW and CREATE FUNCTION statements and automatically builds the dependency graph by looking for other view and function names in the body of the statements.

It doesn't support namespacing or materialization, both of which are nontrivial.