Dannyboy
0
Q:

Apply functions to results of SQL queries.

# Apply functions to results of SQL queries.

results = spark.sql(
  "SELECT * FROM people")
names = results.map(lambda p: p.name)
0

New to Communities?

Join the community