Created
December 26, 2021 05:54
-
-
Save 1ambda/75e1a104e6d5cdef231dde0872ab0d67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spark.sql(""" | |
CACHE TABLE LISTING_STAT AS ( | |
SELECT * | |
FROM LISTING_AVAILABILITY | |
WHERE review_scores_rating IS NOT NULL | |
) | |
""") | |
spark.sql("SHOW TABLES").show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment