Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2022 04:38 AM
I think you'll need to comma separate each sum within the aggregate. I've never seen a list comprehension in the aggregate before.
.agg(sum(y).alias(y),
sum(x).alias(x),
.....)