Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardSilveira/d9c36d3248b8c93f4ca019a95607f33d to your computer and use it in GitHub Desktop.
Save RichardSilveira/d9c36d3248b8c93f4ca019a95607f33d to your computer and use it in GitHub Desktop.
ALTER TABLE default.vpc_flow_logs
ADD PARTITION (dt='{Year}-{Month}-{Day}')
location 's3://<vpc-flow-logs-bucket>/AWSLogs/<account_id>/vpcflowlogs/<region>/<Year>/<Month>/<Day>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment