Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 25, 2021 07:14
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/4fc7b7d7f52d7a9076d4fd12c18b2a22 to your computer and use it in GitHub Desktop.
Save 1ambda/4fc7b7d7f52d7a9076d4fd12c18b2a22 to your computer and use it in GitHub Desktop.
spark.sql("""
UNCACHE TABLE IF EXISTS RAW_CACHED
""")
spark.sql("""
CLEAR CACHE
""")
# 뷰 제거
spark.catalog.dropTempView("RAW")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment