Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created January 2, 2022 01: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/549a30bf93f320fa5eb12b178bcff019 to your computer and use it in GitHub Desktop.
Save 1ambda/549a30bf93f320fa5eb12b178bcff019 to your computer and use it in GitHub Desktop.
df = spark.read.csv(...)
dfSelected = df.selectExpr("...")
df.rdd.id
dfSelected.rdd.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment