Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 27, 2021 00:07
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 1ambda/d802948d6da2c3b777ad6602007f6949 to your computer and use it in GitHub Desktop.
Save 1ambda/d802948d6da2c3b777ad6602007f6949 to your computer and use it in GitHub Desktop.
ALTER TABLE airbnb_db.listing_calendar DROP PARTITION (dt > '20211001'), PARTITION (yyyymmdd < '20211101');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment