如何通过oracle sql查询将以下rank()分区转换为等效的pyspark sql。
SELECT department_id,
last_name,
salary,
commission_pct,
RANK() OVER (PARTITION BY department_id
ORDER BY salary DESC, commission_pct) "Rank"
FROM employees
WHERE department_id = 80;