Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 26, 2021 23:54
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/04493be808470c14bbe519b1b8ce26c6 to your computer and use it in GitHub Desktop.
Save 1ambda/04493be808470c14bbe519b1b8ce26c6 to your computer and use it in GitHub Desktop.
dfTableListingMeta = spark.sql("""
SELECT *
FROM airbnb_db.listing_meta
WHERE dt = '20211101'
""")
dfTableListingMeta.explain("FORMATTED")
dfTableListingMeta.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment