b12io / room-with-a-view Goto Github PK
View Code? Open in Web Editor NEWView management for Amazon's Redshift
License: Other
View management for Amazon's Redshift
License: Other
Problems
Solution: Room with a View, an open source package for managing (Redshift) views
--export thing_name
.--from path/to/some/file.sql import exported_name
Example of how the package can get used
room_with_a_view.py --environment staging --connection conection1 sync viewname
-> creates the necessary views and functions that viewname depends on (including any other view that would have been dropped due to the cascading drop of the view to support schema changes)sync
examples: room_with_a_view.py --environment staging --connection conection1 sync_all
or room_with_a_view.py --environment staging --connection conection1 sync_file filename.sql
room_with_a_view.py --environment staging --connection conection1 [drop viewname|drop_all|drop_file filename.sql]
room_with_a_view.py --environment staging --connection conection1 materialize viewname
would create viewname
room_with_a_view.py --environment staging --connection conection1 list
would list all known exported symbols and the comment around themOther things
export function
or export view
so we know how to drop it (DROP FUNCTION vs DROP VIEW)Example settings.yaml file
connections:
connection1:
hostname: hostname
port: 5432
environments:
production:
postfix: ""
staging:
postfix: _staging
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.