Skip to content
RED SAGSkills
hard20 pts · first answer countssparkspark-sqlwindow-functions

A window with no partitionBy

A job adds a global rank with F.row_number().over(Window.orderBy("amount")) on 2 billion rows. The log warns "No Partition Defined for Window operation" and one task runs for hours. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions