Skip to content
RED SAG Skills
hardStudy question · answer published in Apache Spark interview questions, so no pointssparkspark-sql

Rows produced by cube on two columns

Sales data has 3 cities and 4 channels, and every city-channel pair has sales. How many rows does df.cube("city", "channel").sum("amount") return?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions