如何在 Pyspark 中实现这个查询?
我需要将我使用存在的这个子句转换成另一个数据框。
SELECT
c.Id, c.Description, c.Code
FROM charlie as c
Where (
c.Status = 'ACTIVE' or
exists (
select 1 from beta as b
where c.Id = b.Id
)
)