Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| CREATE TABLE page_views( user_id INT, session_id BIGINT, url | |
| STRING) | |
| PARTITIONED BY (day INT) | |
| CLUSTERED BY (user_id) INTO 100; |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
This cheat sheet originated from the forum, credits to Laurent Poulain. We copied it and changed or added a few things.
def example = 2 // evaluated when called
val example = 2 // evaluated immediatelyMagic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)