Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 25, 2021 00:38
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/c05ecc53c218f5ee0a9adf35af02c064 to your computer and use it in GitHub Desktop.
Save 1ambda/c05ecc53c218f5ee0a9adf35af02c064 to your computer and use it in GitHub Desktop.
dfCached = spark.read.format("parquet").load("./airbnb_listings_parquet").cache()
dfCached.count()
dfCached.rdd.getNumPartitions()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment